Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0008452/0.000845, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008317/0.008317, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.407/1.407, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.0004443/0.0004443, allocations: 12 kB / 279.5 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2527, allocations: 47.58 MB / 327 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01539/0.2681, allocations: 15.66 MB / 342.7 MB, free: 3.684 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009213/0.2773, allocations: 4.163 MB / 346.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003769/0.2812, allocations: 111.7 kB / 347 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003022/0.2842, allocations: 1.034 MB / 348 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00677/0.291, allocations: 1.357 MB / 349.4 MB, free: 12.99 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003488/0.2945, allocations: 1.1 MB / 350.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01046/0.305, allocations: 8.319 MB / 358.8 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04084/0.3459, allocations: 22.18 MB / 381 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00502/0.3509, allocations: 3.406 MB / 384.4 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006512/0.3575, allocations: 4.072 MB / 388.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001628/0.3591, allocations: 0.5508 MB / 389 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.3623, allocations: 0.8044 MB / 389.8 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002023/0.3643, allocations: 1.627 MB / 391.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005329/0.3697, allocations: 4.208 MB / 395.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01608/0.3858, allocations: 17.39 MB / 413 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3858, allocations: 4 kB / 413 MB, free: 13.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.3858, allocations: 0 / 413 MB, free: 13.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004725/0.3863, allocations: 4 kB / 413 MB, free: 13.03 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.02407/0.4104, allocations: 8.753 MB / 421.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.4104, allocations: 12.03 kB / 421.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02992/0.4404, allocations: 5.729 MB / 427.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009013/0.4494, allocations: 4.837 MB / 432.3 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005685/0.45, allocations: 0.7064 MB / 433.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00282/0.4528, allocations: 0.914 MB / 434 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03352/0.4864, allocations: 13.62 MB / 447.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002097/0.4866, allocations: 7.906 kB / 447.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00129/0.4879, allocations: 396 kB / 448 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004003/0.4883, allocations: 463.9 kB / 448.4 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3603/0.8486, allocations: 12.84 MB / 461.3 MB, free: 96.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06904/0.9177, allocations: 47.06 MB / 0.4964 GB, free: 60.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.929, allocations: 17.1 MB / 0.5131 GB, free: 40.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002503/0.9315, allocations: 1.901 MB / 0.515 GB, free: 38.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008691/0.9402, allocations: 6.096 MB / 0.5209 GB, free: 32.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.9403, allocations: 52.56 kB / 0.521 GB, free: 32.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=194): time 3.867e-06/0.9403, allocations: 0 / 0.521 GB, free: 32.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=194): time 0.006924/0.9472, allocations: 4.435 MB / 0.5253 GB, free: 28.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.9473, allocations: 73.41 kB / 0.5254 GB, free: 28.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004288/0.9516, allocations: 3.324 MB / 0.5286 GB, free: 24.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001549/0.9518, allocations: 61.7 kB / 0.5287 GB, free: 24.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.9535, allocations: 4.18 MB / 0.5328 GB, free: 20.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004978/0.954, allocations: 0.7085 MB / 0.5335 GB, free: 19.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000431/0.9544, allocations: 408.9 kB / 0.5339 GB, free: 19.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.9545, allocations: 313.1 kB / 0.5342 GB, free: 19.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002411/0.9569, allocations: 2.075 MB / 0.5362 GB, free: 17.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003166/0.9601, allocations: 4.73 MB / 0.5408 GB, free: 11.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/0.9711, allocations: 7.171 MB / 0.5478 GB, free: 2.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.125e-05/0.9712, allocations: 28 kB / 0.5478 GB, free: 2.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.02008/0.9913, allocations: 7.094 MB / 0.5548 GB, free: 11.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.9914, allocations: 44.19 kB / 0.5548 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001695/0.9916, allocations: 96 kB / 0.5549 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.9928, allocations: 427.2 kB / 0.5553 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005018/0.9979, allocations: 1.178 MB / 0.5564 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005347/1.003, allocations: 4.067 MB / 0.5604 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004645/1.008, allocations: 0.7199 MB / 0.5611 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008958/1.009, allocations: 288 kB / 0.5614 GB, free: 4.48 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.006124/1.015, allocations: 3.485 MB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006153/1.016, allocations: 296.3 kB / 0.5651 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005373/1.021, allocations: 3.387 MB / 0.5684 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003642/1.025, allocations: 2.624 MB / 0.571 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/1.025, allocations: 7.938 kB / 0.571 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/1.025, allocations: 7.969 kB / 0.571 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/1.039, allocations: 9.439 MB / 0.5802 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.039, allocations: 3.938 kB / 0.5802 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/1.041, allocations: 355.5 kB / 0.5805 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007739/1.042, allocations: 313.3 kB / 0.5808 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/1.042, allocations: 47.98 kB / 0.5809 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004702/1.046, allocations: 3.884 MB / 0.5847 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.046, allocations: 3.938 kB / 0.5847 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006748/1.053, allocations: 4.841 MB / 0.5894 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/1.054, allocations: 0.6257 MB / 0.59 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/1.055, allocations: 32 kB / 0.59 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/1.056, allocations: 131.8 kB / 0.5902 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/1.056, allocations: 133.8 kB / 0.5903 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.056, allocations: 52 kB / 0.5903 GB, free: 6.562 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003029/1.059, allocations: 2.198 MB / 0.5925 GB, free: 4.363 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.194e-06/1.059, allocations: 0 / 0.5925 GB, free: 4.363 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005226/1.065, allocations: 2.037 MB / 0.5945 GB, free: 2.32 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.0004208/1.065, allocations: 195.8 kB / 0.5947 GB, free: 2.133 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00782/1.073, allocations: 4.803 MB / 0.5994 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.073, allocations: 64 / 0.5994 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002225/1.075, allocations: 1.644 MB / 0.601 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/1.079, allocations: 0.6381 MB / 0.6016 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2094/1.288, allocations: 17.67 MB / 0.6188 GB, free: 143 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00499/1.293, allocations: 5.811 MB / 0.6245 GB, free: 142.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004394/1.298, allocations: 1.832 MB / 0.6263 GB, free: 142 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005583/1.298, allocations: 233.5 kB / 0.6265 GB, free: 142 MB / 446.1 MB Notification: Performance of SimCode: time 2.114e-06/1.298, allocations: 0 / 0.6265 GB, free: 142 MB / 446.1 MB Notification: Performance of Templates: time 0.06024/1.359, allocations: 40.45 MB / 0.666 GB, free: 110.7 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1)