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.009481/0.009481, allocations: 102 kB / 15.73 MB, free: 6.035 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.001581/0.001581, allocations: 195.9 kB / 16.68 MB, free: 5.953 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.445/1.445, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001201/0.001201, allocations: 58.59 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09424/0.09545, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01755/0.113, allocations: 16.85 MB / 390 MB, free: 388 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.1236, allocations: 4.236 MB / 394.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003536/0.1272, allocations: 115.7 kB / 394.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0173/0.1446, allocations: 7.46 MB / 401.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007233/0.1518, allocations: 1.538 MB / 403.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004722/0.1566, allocations: 1.216 MB / 404.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01106/0.1676, allocations: 8.569 MB / 413.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04151/0.2092, allocations: 22.57 MB / 435.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009216/0.2185, allocations: 4.96 MB / 440.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00988/0.2284, allocations: 5.525 MB / 446.2 MB, free: 7.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004211/0.2326, allocations: 1.402 MB / 447.6 MB, free: 6.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005539/0.2382, allocations: 1.664 MB / 449.3 MB, free: 4.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004739/0.243, allocations: 2.708 MB / 452 MB, free: 2.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2687/0.5117, allocations: 5.377 MB / 457.4 MB, free: 31.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02607/0.5378, allocations: 18.54 MB / 475.9 MB, free: 28.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.5378, allocations: 0 / 475.9 MB, free: 28.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5379, allocations: 5 kB / 475.9 MB, free: 28.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007634/0.5386, allocations: 0 / 475.9 MB, free: 28.3 MB / 382.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.04153/0.5802, allocations: 10.78 MB / 486.7 MB, free: 21.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.5802, allocations: 10.28 kB / 486.7 MB, free: 21.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02999/0.6102, allocations: 5.706 MB / 492.4 MB, free: 19.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/0.6246, allocations: 4.84 MB / 497.3 MB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005914/0.6253, allocations: 0.7109 MB / 498 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005214/0.6305, allocations: 0.9224 MB / 498.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03549/0.666, allocations: 13.6 MB / 0.5005 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002568/0.6663, allocations: 7.906 kB / 0.5005 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003324/0.6696, allocations: 389.9 kB / 0.5009 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003626/0.67, allocations: 459.4 kB / 0.5013 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0314/0.7014, allocations: 12.82 MB / 0.5138 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0926/0.794, allocations: 46.33 MB / 0.5591 GB, free: 7.223 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01643/0.8105, allocations: 17.09 MB / 0.5757 GB, free: 3.812 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002873/0.8134, allocations: 1.871 MB / 0.5776 GB, free: 1.934 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/0.8243, allocations: 5.959 MB / 0.5834 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.8243, allocations: 58.67 kB / 0.5834 GB, free: 11.89 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 4.509e-06/0.8244, allocations: 0 / 0.5834 GB, free: 11.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.007978/0.8323, allocations: 4.306 MB / 0.5877 GB, free: 7.574 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.8324, allocations: 69.41 kB / 0.5877 GB, free: 7.496 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004923/0.8373, allocations: 3.332 MB / 0.591 GB, free: 4.145 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.8375, allocations: 57.7 kB / 0.591 GB, free: 4.082 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002513/0.84, allocations: 4.186 MB / 0.5951 GB, free: 15.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006357/0.8407, allocations: 0.6897 MB / 0.5958 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0014/0.8421, allocations: 1.059 MB / 0.5968 GB, free: 14.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.8422, allocations: 305.1 kB / 0.5971 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002781/0.845, allocations: 2.04 MB / 0.5991 GB, free: 11.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00482/0.8498, allocations: 4.689 MB / 0.6037 GB, free: 5.828 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008834/0.8586, allocations: 7.098 MB / 0.6106 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.335e-05/0.8587, allocations: 27.94 kB / 0.6106 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=649) (initialization): time 0.0107/0.8694, allocations: 7.012 MB / 0.6175 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-05/0.8695, allocations: 51.97 kB / 0.6175 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/0.8697, allocations: 92 kB / 0.6176 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008845/0.8706, allocations: 434.8 kB / 0.618 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003413/0.874, allocations: 1.175 MB / 0.6192 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004928/0.8789, allocations: 4.376 MB / 0.6235 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004203/0.8831, allocations: 0.7237 MB / 0.6242 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006088/0.8838, allocations: 284 kB / 0.6244 GB, free: 220 kB / 0.4981 GB 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 (623): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.006511/0.8903, allocations: 3.493 MB / 0.6279 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007638/0.891, allocations: 284.4 kB / 0.6281 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005081/0.8961, allocations: 3.306 MB / 0.6314 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003422/0.8996, allocations: 2.542 MB / 0.6338 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.8996, allocations: 4 kB / 0.6338 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.8996, allocations: 11.95 kB / 0.6338 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2484/1.148, allocations: 9.296 MB / 0.6429 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.148, allocations: 1.688 kB / 0.6429 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/1.149, allocations: 363.7 kB / 0.6433 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007481/1.15, allocations: 310.5 kB / 0.6436 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/1.15, allocations: 41.94 kB / 0.6436 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0046/1.155, allocations: 4.186 MB / 0.6477 GB, free: 182.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.155, allocations: 5.906 kB / 0.6477 GB, free: 182.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005914/1.161, allocations: 4.703 MB / 0.6523 GB, free: 182.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001428/1.162, allocations: 0.5912 MB / 0.6529 GB, free: 181.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003271/1.163, allocations: 33.55 kB / 0.6529 GB, free: 181.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.164, allocations: 137.4 kB / 0.653 GB, free: 181.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002681/1.164, allocations: 130.7 kB / 0.6532 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/1.164, allocations: 54.08 kB / 0.6532 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003445/1.168, allocations: 2.193 MB / 0.6554 GB, free: 180.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/1.168, allocations: 0 / 0.6554 GB, free: 180.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005743/1.173, allocations: 2.027 MB / 0.6573 GB, free: 180.3 MB / 0.5137 GB 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005424/1.174, allocations: 208.1 kB / 0.6575 GB, free: 180.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006088/1.18, allocations: 4.72 MB / 0.6621 GB, free: 178.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.18, allocations: 2 kB / 0.6621 GB, free: 178.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001808/1.182, allocations: 1.596 MB / 0.6637 GB, free: 177.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/1.185, allocations: 0.6844 MB / 0.6644 GB, free: 177.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02476/1.21, allocations: 13.69 MB / 0.6777 GB, free: 168.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00565/1.216, allocations: 5.797 MB / 0.6834 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0038/1.22, allocations: 1.83 MB / 0.6852 GB, free: 162.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006088/1.22, allocations: 235 kB / 0.6854 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.022e-06/1.22, allocations: 0 / 0.6854 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.06219/1.282, allocations: 39.59 MB / 0.7241 GB, free: 124 MB / 0.5137 GB 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)