Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001342/0.001342, allocations: 94.14 kB / 16.3 MB, free: 6.457 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.001564/0.001565, allocations: 184.8 kB / 17.2 MB, free: 6.34 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.452/1.452, allocations: 205.4 MB / 223.3 MB, free: 13.17 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.0004885/0.0004889, allocations: 15.44 kB / 280.1 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1075, allocations: 47.58 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01567/0.1232, allocations: 13.55 MB / 341.2 MB, free: 6.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009316/0.1325, allocations: 3.993 MB / 345.2 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002916/0.1355, allocations: 107.7 kB / 345.3 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.1379, allocations: 0.7652 MB / 346.1 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004705/0.1427, allocations: 1.27 MB / 347.4 MB, free: 352 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.1454, allocations: 0.9083 MB / 348.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008693/0.1541, allocations: 5.576 MB / 353.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03087/0.185, allocations: 18.19 MB / 372.1 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005122/0.1902, allocations: 3.126 MB / 375.2 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005644/0.1958, allocations: 3.54 MB / 378.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001276/0.1971, allocations: 0.5508 MB / 379.3 MB, free: 324 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2/0.3971, allocations: 0.7518 MB / 380 MB, free: 24.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00272/0.3999, allocations: 1.563 MB / 381.6 MB, free: 24.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003473/0.4034, allocations: 1.793 MB / 383.4 MB, free: 24.74 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01699/0.4204, allocations: 15.64 MB / 399 MB, free: 18.63 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4205, allocations: 3.688 kB / 399 MB, free: 18.63 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4205, allocations: 6.078 kB / 399 MB, free: 18.63 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000628/0.4211, allocations: 0 / 399 MB, free: 18.63 MB / 318.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.02873/0.4498, allocations: 8.85 MB / 407.9 MB, free: 14.26 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.4499, allocations: 9.219 kB / 407.9 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02958/0.4795, allocations: 5.601 MB / 413.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/0.4921, allocations: 4.783 MB / 418.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007671/0.4929, allocations: 0.6985 MB / 419 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004683/0.4976, allocations: 0.924 MB / 419.9 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03779/0.5354, allocations: 13.47 MB / 433.4 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005878/0.5361, allocations: 14.38 kB / 433.4 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00478/0.5409, allocations: 390.8 kB / 433.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005081/0.5414, allocations: 459.9 kB / 434.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0332/0.5746, allocations: 12.77 MB / 447 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1176/0.6923, allocations: 47.05 MB / 494 MB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01676/0.7091, allocations: 17.09 MB / 0.4991 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01388/0.723, allocations: 6.169 MB / 0.5051 GB, free: 9.102 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.7231, allocations: 60.55 kB / 0.5052 GB, free: 9.035 MB / 414.1 MB Notification: Performance of pre-optimization done (n=196): time 3.948e-06/0.7231, allocations: 0 / 0.5052 GB, free: 9.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=196): time 0.008592/0.7317, allocations: 4.741 MB / 0.5098 GB, free: 4.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.7318, allocations: 73.41 kB / 0.5099 GB, free: 4.121 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007478/0.7393, allocations: 3.3 MB / 0.5131 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002586/0.7396, allocations: 53.7 kB / 0.5132 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003868/0.7435, allocations: 4.165 MB / 0.5172 GB, free: 12.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001124/0.7446, allocations: 0.7305 MB / 0.518 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006216/0.7453, allocations: 100 kB / 0.5181 GB, free: 11.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0006511/0.7459, allocations: 0.5168 MB / 0.5186 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003609/0.7495, allocations: 2.071 MB / 0.5206 GB, free: 9.133 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005532/0.7551, allocations: 4.687 MB / 0.5252 GB, free: 3.199 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004952/0.7601, allocations: 3.222 MB / 0.5283 GB, free: 60 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.432e-05/0.7601, allocations: 28 kB / 0.5283 GB, free: 32 kB / 430.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.2585/1.019, allocations: 7.066 MB / 0.5352 GB, free: 135.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.471e-05/1.019, allocations: 45.75 kB / 0.5353 GB, free: 135.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001618/1.019, allocations: 92.62 kB / 0.5354 GB, free: 135.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009103/1.02, allocations: 445.7 kB / 0.5358 GB, free: 135.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003873/1.024, allocations: 1.178 MB / 0.5369 GB, free: 135.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004274/1.028, allocations: 4.163 MB / 0.541 GB, free: 132.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004821/1.033, allocations: 0.7139 MB / 0.5417 GB, free: 132.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009641/1.034, allocations: 289.8 kB / 0.542 GB, free: 132.6 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 416 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00705/1.041, allocations: 3.484 MB / 0.5454 GB, free: 131 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000714/1.042, allocations: 289 kB / 0.5457 GB, free: 130.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00481/1.046, allocations: 3.428 MB / 0.549 GB, free: 129.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003072/1.05, allocations: 2.635 MB / 0.5516 GB, free: 128.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.05, allocations: 8.578 kB / 0.5516 GB, free: 128.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.824e-05/1.05, allocations: 7.688 kB / 0.5516 GB, free: 128.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/1.066, allocations: 9.45 MB / 0.5608 GB, free: 121.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.066, allocations: 4 kB / 0.5608 GB, free: 121.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/1.067, allocations: 360.1 kB / 0.5612 GB, free: 121.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006943/1.068, allocations: 314.2 kB / 0.5615 GB, free: 121.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/1.068, allocations: 47.8 kB / 0.5615 GB, free: 121.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003766/1.072, allocations: 3.963 MB / 0.5654 GB, free: 117.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.072, allocations: 3.797 kB / 0.5654 GB, free: 117.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005417/1.077, allocations: 4.871 MB / 0.5701 GB, free: 113.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/1.079, allocations: 0.6246 MB / 0.5708 GB, free: 112.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000366/1.079, allocations: 36 kB / 0.5708 GB, free: 112.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/1.081, allocations: 132.5 kB / 0.5709 GB, free: 112.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/1.081, allocations: 129.9 kB / 0.571 GB, free: 112.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/1.081, allocations: 51.42 kB / 0.5711 GB, free: 112.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003525/1.085, allocations: 2.173 MB / 0.5732 GB, free: 110.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.41e-07/1.085, allocations: 0 / 0.5732 GB, free: 110.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006597/1.091, allocations: 2.034 MB / 0.5752 GB, free: 108.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005544/1.092, allocations: 193.4 kB / 0.5754 GB, free: 108.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006717/1.098, allocations: 4.802 MB / 0.5801 GB, free: 103.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.098, allocations: 0 / 0.5801 GB, free: 103.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001926/1.1, allocations: 1.647 MB / 0.5817 GB, free: 101.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/1.104, allocations: 0.6101 MB / 0.5823 GB, free: 101.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02622/1.13, allocations: 16.66 MB / 0.5985 GB, free: 84.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005161/1.135, allocations: 5.932 MB / 0.6043 GB, free: 78.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004355/1.14, allocations: 1.824 MB / 0.6061 GB, free: 76.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000594/1.14, allocations: 239.4 kB / 0.6063 GB, free: 76.54 MB / 430.1 MB Notification: Performance of SimCode: time 9.51e-07/1.14, allocations: 4 kB / 0.6063 GB, free: 76.54 MB / 430.1 MB Notification: Performance of Templates: time 0.06667/1.207, allocations: 39.66 MB / 0.6451 GB, free: 36.89 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) Environment - environmentSimulation: