Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009242/0.0009287, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006746/0.006746, allocations: 170 kB / 16.26 MB, free: 6.613 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.418/1.418, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0004454/0.0004455, allocations: 12 kB / 279.4 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2438, allocations: 47.58 MB / 327 MB, free: 1.508 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01471/0.2585, allocations: 15.67 MB / 342.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009526/0.2681, allocations: 4.167 MB / 346.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002978/0.2711, allocations: 107.7 kB / 347 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002876/0.274, allocations: 1.03 MB / 348 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005921/0.28, allocations: 1.361 MB / 349.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0034/0.2834, allocations: 1.103 MB / 350.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009971/0.2933, allocations: 8.315 MB / 358.8 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03762/0.331, allocations: 22.18 MB / 381 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005739/0.3368, allocations: 3.398 MB / 384.4 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007004/0.3438, allocations: 4.072 MB / 388.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001722/0.3456, allocations: 0.5508 MB / 389 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.3486, allocations: 0.8005 MB / 389.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001503/0.3501, allocations: 1.63 MB / 391.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005496/0.3556, allocations: 4.212 MB / 395.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01698/0.3726, allocations: 17.38 MB / 413 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3727, allocations: 0 / 413 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.3727, allocations: 0 / 413 MB, free: 13.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005156/0.3732, allocations: 0 / 413 MB, free: 13.11 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: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.02368/0.3969, allocations: 8.764 MB / 421.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3969, allocations: 11.97 kB / 421.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03068/0.4276, allocations: 5.725 MB / 427.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009509/0.4372, allocations: 4.841 MB / 432.3 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007789/0.438, allocations: 0.7025 MB / 433.1 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003616/0.4416, allocations: 0.9218 MB / 434 MB, free: 7.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0351/0.4767, allocations: 13.61 MB / 447.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002607/0.477, allocations: 15.84 kB / 447.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002233/0.4793, allocations: 392 kB / 448 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004746/0.4797, allocations: 459.9 kB / 448.4 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3452/0.825, allocations: 12.84 MB / 461.3 MB, free: 96.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06113/0.8862, allocations: 47.06 MB / 0.4964 GB, free: 60.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.8979, allocations: 17.1 MB / 0.5131 GB, free: 40.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002661/0.9006, allocations: 1.917 MB / 0.515 GB, free: 38.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01/0.9106, allocations: 6.084 MB / 0.5209 GB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.423e-05/0.9108, allocations: 56.55 kB / 0.521 GB, free: 32.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=194): time 6.352e-06/0.9108, allocations: 0 / 0.521 GB, free: 32.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=194): time 0.008099/0.9189, allocations: 4.439 MB / 0.5253 GB, free: 28.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.919, allocations: 73.34 kB / 0.5254 GB, free: 28.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00573/0.9247, allocations: 3.324 MB / 0.5286 GB, free: 24.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001676/0.9249, allocations: 53.7 kB / 0.5287 GB, free: 24.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001815/0.9267, allocations: 4.181 MB / 0.5328 GB, free: 20.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005731/0.9273, allocations: 0.7084 MB / 0.5335 GB, free: 19.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005481/0.9279, allocations: 412.9 kB / 0.5339 GB, free: 19.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.125e-05/0.9279, allocations: 305.1 kB / 0.5341 GB, free: 19.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00273/0.9307, allocations: 2.083 MB / 0.5362 GB, free: 17.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003812/0.9345, allocations: 4.73 MB / 0.5408 GB, free: 11.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006414/0.9409, allocations: 7.171 MB / 0.5478 GB, free: 2.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.747e-05/0.941, allocations: 28 kB / 0.5478 GB, free: 2.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01095/0.9519, allocations: 7.093 MB / 0.5548 GB, free: 11.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.983e-05/0.9521, allocations: 44 kB / 0.5548 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001603/0.9522, allocations: 92 kB / 0.5549 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.9532, allocations: 427.4 kB / 0.5553 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00382/0.9571, allocations: 1.181 MB / 0.5564 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005254/0.9623, allocations: 4.071 MB / 0.5604 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004401/0.9668, allocations: 0.7121 MB / 0.5611 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008812/0.9677, allocations: 288 kB / 0.5614 GB, free: 4.539 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (626): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007017/0.9747, allocations: 3.493 MB / 0.5648 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008012/0.9755, allocations: 292.3 kB / 0.5651 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006801/0.9823, allocations: 3.391 MB / 0.5684 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004028/0.9864, allocations: 2.624 MB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/0.9864, allocations: 7.938 kB / 0.571 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.9865, allocations: 7.969 kB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01997/1.006, allocations: 9.432 MB / 0.5802 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/1.006, allocations: 3.938 kB / 0.5802 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/1.008, allocations: 355.5 kB / 0.5805 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000773/1.009, allocations: 313.3 kB / 0.5808 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/1.009, allocations: 43.98 kB / 0.5809 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004792/1.014, allocations: 3.892 MB / 0.5847 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.014, allocations: 7.938 kB / 0.5847 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00734/1.021, allocations: 4.841 MB / 0.5894 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/1.023, allocations: 0.6179 MB / 0.59 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006329/1.023, allocations: 44.05 kB / 0.59 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/1.025, allocations: 127.8 kB / 0.5902 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/1.025, allocations: 129.8 kB / 0.5903 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.025, allocations: 59.98 kB / 0.5904 GB, free: 6.609 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004376/1.03, allocations: 2.194 MB / 0.5925 GB, free: 4.414 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.2e-07/1.03, allocations: 0 / 0.5925 GB, free: 4.414 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006886/1.036, allocations: 2.033 MB / 0.5945 GB, free: 2.375 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (183): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005306/1.037, allocations: 200.1 kB / 0.5947 GB, free: 2.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008675/1.046, allocations: 4.807 MB / 0.5994 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.046, allocations: 0 / 0.5994 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002643/1.048, allocations: 1.637 MB / 0.601 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00439/1.053, allocations: 0.6422 MB / 0.6016 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2156/1.268, allocations: 17.67 MB / 0.6188 GB, free: 143.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005095/1.274, allocations: 5.804 MB / 0.6245 GB, free: 142.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004212/1.278, allocations: 1.832 MB / 0.6263 GB, free: 142.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005612/1.278, allocations: 234.6 kB / 0.6265 GB, free: 142.1 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/1.278, allocations: 0 / 0.6265 GB, free: 142.1 MB / 446.1 MB Notification: Performance of Templates: time 0.06176/1.34, allocations: 40.45 MB / 0.666 GB, free: 110.8 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1)