Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 110.6 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 186.2 kB / 19.34 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 55.92 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07125/0.0724, allocations: 46.61 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource): time 0.1592/0.2317, allocations: 15.83 MB / 391.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00871/0.2404, allocations: 5.386 MB / 397.1 MB, free: 224 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00279/0.2433, allocations: 100.7 kB / 397.2 MB, free: 192 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003195/0.2465, allocations: 1.112 MB / 398.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00428/0.2508, allocations: 1.351 MB / 399.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.2533, allocations: 0.9725 MB / 400.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005085/0.2584, allocations: 3.969 MB / 404.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004731/0.2631, allocations: 3.558 MB / 408.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002803/0.2659, allocations: 1.882 MB / 410 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003811/0.2697, allocations: 2.269 MB / 412.3 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001211/0.271, allocations: 0.5198 MB / 412.8 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.2732, allocations: 0.7394 MB / 413.5 MB, free: 8.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001562/0.2748, allocations: 1.284 MB / 414.8 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00269/0.2775, allocations: 2.254 MB / 417.1 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006871/0.2844, allocations: 6.887 MB / 424 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2844, allocations: 0 / 424 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2844, allocations: 4 kB / 424 MB, free: 15.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001194/0.2845, allocations: 0 / 424 MB, free: 15.47 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.009614/0.2941, allocations: 4.658 MB / 428.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2942, allocations: 8.031 kB / 428.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002878/0.2971, allocations: 0.6675 MB / 429.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003652/0.3007, allocations: 2.377 MB / 431.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.3009, allocations: 275.2 kB / 431.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004934/0.3014, allocations: 348.3 kB / 432.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006755/0.3082, allocations: 4.464 MB / 436.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.658e-05/0.3083, allocations: 4 kB / 436.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003095/0.3086, allocations: 140 kB / 436.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/0.3088, allocations: 158.8 kB / 437 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00593/0.3147, allocations: 3.735 MB / 440.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01893/0.3336, allocations: 14.31 MB / 455.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004909/0.3386, allocations: 5.369 MB / 460.5 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.3404, allocations: 1.252 MB / 461.7 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005858/0.3463, allocations: 3.792 MB / 465.5 MB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.3464, allocations: 51.8 kB / 465.6 MB, free: 4.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 4.649e-06/0.3464, allocations: 0 / 465.6 MB, free: 4.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.008925/0.3553, allocations: 5.467 MB / 471 MB, free: 14.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.3554, allocations: 64.72 kB / 471.1 MB, free: 14.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/0.3584, allocations: 2.098 MB / 473.2 MB, free: 12.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.677e-05/0.3585, allocations: 49.7 kB / 473.2 MB, free: 12.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.3596, allocations: 1.661 MB / 474.9 MB, free: 10.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003413/0.3599, allocations: 461.4 kB / 475.3 MB, free: 10.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004857/0.3604, allocations: 331.2 kB / 475.7 MB, free: 10.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.3605, allocations: 305.1 kB / 476 MB, free: 9.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.3617, allocations: 0.7222 MB / 476.7 MB, free: 9.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.3632, allocations: 1.349 MB / 478 MB, free: 7.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002812/0.366, allocations: 2.227 MB / 480.3 MB, free: 4.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.366, allocations: 8 kB / 480.3 MB, free: 4.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.003828/0.3699, allocations: 2.517 MB / 482.8 MB, free: 2.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.3699, allocations: 20.38 kB / 482.8 MB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/0.37, allocations: 20 kB / 482.8 MB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003774/0.3703, allocations: 142.5 kB / 483 MB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.372, allocations: 463.3 kB / 483.4 MB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.3746, allocations: 3.349 MB / 486.8 MB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.3759, allocations: 115.8 kB / 486.9 MB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.3761, allocations: 83.98 kB / 487 MB, free: 13.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (227): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001529/0.3776, allocations: 1.044 MB / 488 MB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/0.3779, allocations: 213.3 kB / 488.2 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003447/0.3814, allocations: 2.185 MB / 490.4 MB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.3814, allocations: 7.969 kB / 490.4 MB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3814, allocations: 0 / 490.4 MB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006904/0.3821, allocations: 454.2 kB / 490.8 MB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/0.3824, allocations: 24 kB / 490.9 MB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009146/0.3833, allocations: 79.91 kB / 491 MB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.3835, allocations: 97.16 kB / 491 MB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003784/0.3873, allocations: 1.957 MB / 493 MB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003591/0.3909, allocations: 2.683 MB / 495.7 MB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009761/0.3919, allocations: 0.7208 MB / 496.4 MB, free: 4.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002013/0.3939, allocations: 1.427 MB / 497.8 MB, free: 2.855 MB / 414.1 MB Notification: Performance of Backend: time 3.6e-07/0.3939, allocations: 0 / 497.8 MB, free: 2.855 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002934/0.3968, allocations: 1.704 MB / 499.5 MB, free: 1.105 MB / 414.1 MB Notification: Performance of SimCode: time 0.009437/0.4063, allocations: 6.468 MB / 0.4941 GB, free: 10.57 MB / 430.1 MB Notification: Performance of Templates: time 0.0552/0.4615, allocations: 33.89 MB / 0.5272 GB, free: 8.617 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.pipe 2>&1)