Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.002128/0.002127, 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.002546/0.002546, allocations: 189.3 kB / 16.25 MB, free: 6.629 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.767/1.767, allocations: 205.1 MB / 222.1 MB, free: 4.75 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.001304/0.001305, allocations: 55.94 kB / 278.2 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3486, allocations: 46.62 MB / 324.8 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.008937/0.3576, allocations: 5.937 MB / 330.8 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005565/0.3632, allocations: 1.638 MB / 332.4 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.3648, allocations: 38.06 kB / 332.5 MB, free: 11.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008366/0.3658, allocations: 242.4 kB / 332.7 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.3678, allocations: 315.6 kB / 333 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009534/0.3687, allocations: 312 kB / 333.3 MB, free: 11.2 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002831/0.3716, allocations: 2.005 MB / 335.3 MB, free: 9.605 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003144/0.3747, allocations: 2.699 MB / 338 MB, free: 6.844 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/0.3765, allocations: 1.044 MB / 339.1 MB, free: 5.797 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.3782, allocations: 1.214 MB / 340.3 MB, free: 4.578 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004233/0.3786, allocations: 308 kB / 340.6 MB, free: 4.277 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008547/0.3795, allocations: 483.6 kB / 341 MB, free: 3.805 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006645/0.3802, allocations: 0.7364 MB / 341.8 MB, free: 3.066 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.3815, allocations: 1.253 MB / 343 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003725/0.3853, allocations: 3.748 MB / 346.8 MB, free: 14.05 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.454e-05/0.3853, allocations: 4 kB / 346.8 MB, free: 14.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3853, allocations: 0 / 346.8 MB, free: 14.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.686e-05/0.3854, 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.00562/0.391, allocations: 2.458 MB / 349.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.644e-05/0.3911, allocations: 12.03 kB / 349.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007179/0.3918, allocations: 238.1 kB / 349.5 MB, free: 11.28 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.3938, allocations: 1.178 MB / 350.7 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.3939, allocations: 168.9 kB / 350.8 MB, free: 9.887 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/0.3942, allocations: 220.1 kB / 351 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00451/0.3988, allocations: 2.542 MB / 353.6 MB, free: 7.078 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.184e-05/0.3988, allocations: 0 / 353.6 MB, free: 7.078 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/0.399, allocations: 92 kB / 353.7 MB, free: 6.988 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.003e-05/0.3991, allocations: 56 kB / 353.7 MB, free: 6.934 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004202/0.4033, allocations: 2.134 MB / 355.9 MB, free: 4.785 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.4166, allocations: 7.592 MB / 363.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.4181, allocations: 1.26 MB / 364.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.4192, allocations: 0.6218 MB / 365.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.238e-05/0.4193, allocations: 8.562 kB / 365.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.555e-05/0.4193, allocations: 39.12 kB / 365.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 5.76e-06/0.4194, allocations: 0 / 365.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004483/0.4238, allocations: 2.439 MB / 367.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.4239, allocations: 55.97 kB / 367.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.4251, allocations: 0.8009 MB / 368.7 MB, free: 7.531 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.16e-05/0.4251, allocations: 45.64 kB / 368.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007501/0.4259, allocations: 0.9021 MB / 369.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.4261, allocations: 236.7 kB / 369.9 MB, free: 6.328 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.4264, allocations: 146.5 kB / 370 MB, free: 6.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002762/0.4267, allocations: 390.8 kB / 370.4 MB, free: 5.789 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005643/0.4272, allocations: 369.7 kB / 370.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007568/0.428, allocations: 0.5829 MB / 371.3 MB, free: 4.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.4293, allocations: 0.9816 MB / 372.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.4294, allocations: 4 kB / 372.3 MB, free: 3.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001895/0.4313, allocations: 1.151 MB / 373.5 MB, free: 2.508 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.4313, allocations: 11.94 kB / 373.5 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.4313, allocations: 12 kB / 373.5 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003505/0.4317, allocations: 113 kB / 373.6 MB, free: 2.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006787/0.4324, allocations: 167.7 kB / 373.8 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.4349, allocations: 2.333 MB / 376.1 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005776/0.4355, allocations: 39.97 kB / 376.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/0.4356, allocations: 31.98 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.001261/0.4369, allocations: 0.6457 MB / 376.8 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.4371, allocations: 86.91 kB / 376.9 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.4373, allocations: 103.6 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.958e-05/0.4373, allocations: 12 kB / 377 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.4373, allocations: 4 kB / 377 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.4374, allocations: 3.984 kB / 377 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004571/0.4419, allocations: 2.666 MB / 379.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.442, allocations: 4.188 kB / 379.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/0.4424, allocations: 107.9 kB / 379.8 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002955/0.4427, allocations: 104.8 kB / 379.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.507e-05/0.4428, allocations: 19.98 kB / 379.9 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.4451, allocations: 2.263 MB / 382.2 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4451, allocations: 8.094 kB / 382.2 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/0.4473, allocations: 1.415 MB / 383.6 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/0.4477, allocations: 224 kB / 383.8 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.123e-05/0.4478, allocations: 12 kB / 383.8 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.4483, allocations: 51.95 kB / 383.9 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.4484, allocations: 52.36 kB / 383.9 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.4485, allocations: 16 kB / 383.9 MB, free: 7.586 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008168/0.4493, allocations: 0.5615 MB / 384.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4493, allocations: 0 / 384.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001364/0.4507, 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.0003589/0.4511, allocations: 143.1 kB / 384.9 MB, free: 6.586 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002015/0.4531, allocations: 1.136 MB / 386.1 MB, free: 5.434 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4531, allocations: 0 / 386.1 MB, free: 5.434 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008493/0.454, allocations: 0.564 MB / 386.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.4551, allocations: 219.7 kB / 386.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00661/0.4617, allocations: 4.157 MB / 391 MB, free: 448 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/0.4631, allocations: 1.717 MB / 392.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006544/0.4638, allocations: 203.1 kB / 392.9 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.464, allocations: 63.42 kB / 393 MB, free: 14.43 MB / 334.1 MB Notification: Performance of SimCode: time 8.12e-07/0.464, allocations: 0 / 393 MB, free: 14.43 MB / 334.1 MB Notification: Performance of Templates: time 0.02967/0.4937, allocations: 12.15 MB / 405.1 MB, free: 2.266 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1)