Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.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.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001337, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001632/0.001632, allocations: 192.7 kB / 16.25 MB, free: 6.633 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.854/1.854, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.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.001667/0.001667, allocations: 55.86 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4359, allocations: 46.63 MB / 324.8 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.01164/0.4476, allocations: 5.937 MB / 330.8 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006571/0.4543, allocations: 1.633 MB / 332.4 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002851/0.4572, allocations: 38.94 kB / 332.5 MB, free: 11.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.4587, allocations: 246.6 kB / 332.7 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.4619, allocations: 307.2 kB / 333 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.4631, allocations: 316 kB / 333.3 MB, free: 11.19 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003672/0.4668, allocations: 2.007 MB / 335.3 MB, free: 9.602 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003851/0.4707, allocations: 2.695 MB / 338 MB, free: 6.844 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.4729, allocations: 1.044 MB / 339.1 MB, free: 5.797 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.4747, allocations: 1.218 MB / 340.3 MB, free: 4.574 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004894/0.4752, allocations: 312 kB / 340.6 MB, free: 4.27 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008981/0.4761, allocations: 479.6 kB / 341 MB, free: 3.801 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007331/0.4769, allocations: 0.7286 MB / 341.8 MB, free: 3.07 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.4786, allocations: 1.256 MB / 343 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005302/0.4839, allocations: 3.74 MB / 346.8 MB, free: 14.06 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.326e-05/0.484, allocations: 0 / 346.8 MB, free: 14.06 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.484, allocations: 3.938 kB / 346.8 MB, free: 14.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001611/0.4842, allocations: 0 / 346.8 MB, free: 14.05 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.007557/0.4917, allocations: 2.47 MB / 349.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.4918, allocations: 8.031 kB / 349.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007896/0.4926, allocations: 242.1 kB / 349.5 MB, free: 11.28 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/0.495, allocations: 1.174 MB / 350.7 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.4952, allocations: 168.9 kB / 350.8 MB, free: 9.887 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003452/0.4955, allocations: 224.1 kB / 351 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005805/0.5013, allocations: 2.538 MB / 353.6 MB, free: 7.078 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.211e-05/0.5014, allocations: 0 / 353.6 MB, free: 7.078 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000209/0.5016, allocations: 99.97 kB / 353.7 MB, free: 6.98 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.5018, allocations: 56 kB / 353.7 MB, free: 6.926 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004549/0.5063, allocations: 2.13 MB / 355.9 MB, free: 4.781 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01527/0.5216, allocations: 7.6 MB / 363.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.5231, allocations: 1.254 MB / 364.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.5242, allocations: 0.6218 MB / 365.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.5242, allocations: 8.562 kB / 365.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/0.5243, allocations: 39.12 kB / 365.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 4.448e-06/0.5243, allocations: 0 / 365.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.005553/0.5299, allocations: 2.428 MB / 367.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.53, allocations: 63.95 kB / 367.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.5314, allocations: 0.797 MB / 368.7 MB, free: 7.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-05/0.5315, allocations: 41.69 kB / 368.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007962/0.5323, allocations: 0.906 MB / 369.6 MB, free: 6.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.5326, allocations: 232.7 kB / 369.8 MB, free: 6.336 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002724/0.5329, allocations: 150.5 kB / 370 MB, free: 6.184 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002382/0.5332, allocations: 398.7 kB / 370.4 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000615/0.5338, allocations: 365.8 kB / 370.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000771/0.5346, allocations: 0.575 MB / 371.3 MB, free: 4.758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.536, allocations: 0.9971 MB / 372.3 MB, free: 3.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.536, allocations: 4 kB / 372.3 MB, free: 3.656 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002148/0.5382, allocations: 1.139 MB / 373.5 MB, free: 2.512 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.5382, allocations: 12.5 kB / 373.5 MB, free: 2.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.5383, allocations: 12 kB / 373.5 MB, free: 2.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004107/0.5387, allocations: 112.7 kB / 373.6 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/0.5394, allocations: 175.7 kB / 373.8 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/0.5424, allocations: 2.321 MB / 376.1 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/0.5432, allocations: 39.97 kB / 376.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.926e-05/0.5433, allocations: 36 kB / 376.2 MB, free: 15.66 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001619/0.5449, allocations: 0.6536 MB / 376.8 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/0.5453, allocations: 82.91 kB / 376.9 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.5455, allocations: 103.5 kB / 377 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-05/0.5456, allocations: 8 kB / 377 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/0.5456, allocations: 0 / 377 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.5456, allocations: 3.984 kB / 377 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00488/0.5505, allocations: 2.673 MB / 379.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.5505, allocations: 192 / 379.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/0.551, allocations: 104 kB / 379.8 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002962/0.5513, allocations: 108.7 kB / 379.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.5514, allocations: 12 kB / 379.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002501/0.5539, allocations: 2.275 MB / 382.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.5539, allocations: 8.016 kB / 382.2 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.5561, allocations: 1.411 MB / 383.6 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004542/0.5566, allocations: 224 kB / 383.8 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-05/0.5567, allocations: 20 kB / 383.8 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.5572, allocations: 51.89 kB / 383.9 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.5573, allocations: 40.5 kB / 383.9 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.5574, allocations: 27.92 kB / 383.9 MB, free: 7.578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009552/0.5583, allocations: 0.5536 MB / 384.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5583, allocations: 0 / 384.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001566/0.5599, allocations: 300 kB / 384.8 MB, free: 6.738 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000436/0.5604, allocations: 139.1 kB / 384.9 MB, free: 6.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002623/0.563, allocations: 1.142 MB / 386.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/0.563, allocations: 0 / 386.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.5641, allocations: 0.5617 MB / 386.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.5655, allocations: 223 kB / 386.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008061/0.5735, allocations: 4.153 MB / 391 MB, free: 440 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/0.5753, allocations: 1.717 MB / 392.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0008933/0.5762, allocations: 203.1 kB / 392.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.5764, allocations: 63.42 kB / 393 MB, free: 14.42 MB / 334.1 MB Notification: Performance of SimCode: time 2.114e-06/0.5764, allocations: 0 / 393 MB, free: 14.42 MB / 334.1 MB Notification: Performance of Templates: time 0.03026/0.6067, allocations: 12.15 MB / 405.1 MB, free: 2.25 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1)