Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001484/0.001484, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001664/0.001664, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2611/0.2611, allocations: 46.89 MB / 361.3 MB, free: 4.449 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer")
translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002729/0.002729, allocations: 83.8 kB / 0.497 GB, free: 7.625 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4603, allocations: 66.02 MB / 0.5615 GB, free: 4.641 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004225/0.4645, allocations: 2.601 MB / 0.564 GB, free: 2.027 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001289/0.4658, allocations: 0.6816 MB / 0.5647 GB, free: 1.34 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.4659, allocations: 7.938 kB / 0.5647 GB, free: 1.332 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.4661, allocations: 35.64 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.4662, allocations: 75.34 kB / 0.5648 GB, free: 1.223 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.4665, allocations: 75.84 kB / 0.5649 GB, free: 1.148 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003485/0.4668, allocations: 298.7 kB / 0.5652 GB, free: 0.8555 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.467, allocations: 76.2 kB / 0.5653 GB, free: 0.7773 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.4672, allocations: 119.6 kB / 0.5654 GB, free: 0.6602 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.4674, allocations: 119.5 kB / 0.5655 GB, free: 0.543 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.4675, allocations: 28 kB / 0.5655 GB, free: 0.5156 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.495e-05/0.4675, allocations: 27.94 kB / 0.5655 GB, free: 500 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.4676, allocations: 51.84 kB / 0.5656 GB, free: 448 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000142/0.4677, allocations: 127.3 kB / 0.5657 GB, free: 320 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.4681, allocations: 289.7 kB / 0.566 GB, free: 32 kB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4681, allocations: 0 / 0.566 GB, free: 32 kB / 398.1 MB
Notification: Performance of FrontEnd: time 1.994e-06/0.4681, allocations: 0 / 0.566 GB, free: 32 kB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.233e-06/0.4681, allocations: 0 / 0.566 GB, free: 32 kB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 51
 * Number of variables: 51
Notification: Performance of Generate backend data structure: time 0.000891/0.469, allocations: 481.5 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.469, allocations: 8.031 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.4692, allocations: 40.78 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.4696, allocations: 198.1 kB / 0.5667 GB, free: 15.26 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.4696, allocations: 12.81 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.4697, allocations: 20.38 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.4701, allocations: 199.6 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4701, allocations: 3.938 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.4701, allocations: 8 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.4701, allocations: 11.92 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.4704, allocations: 141.7 kB / 0.5671 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.4718, allocations: 0.7563 MB / 0.5678 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.472, allocations: 98.42 kB / 0.5679 GB, free: 13.94 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/0.472, allocations: 44.84 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.4721, allocations: 4 kB / 0.5679 GB, free: 13.89 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.4721, allocations: 30.56 kB / 0.568 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.4721, allocations: 0 / 0.568 GB, free: 13.85 MB / 414.1 MB
Notification: Performance of matching and sorting (n=16): time 0.001825/0.4739, allocations: 0.6465 MB / 0.5686 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.474, allocations: 59.41 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.4742, allocations: 215.6 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.4742, allocations: 25.7 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.4744, allocations: 176.2 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.4744, allocations: 51.58 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.068e-05/0.4745, allocations: 49.66 kB / 0.5691 GB, free: 12.56 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001528/0.4746, allocations: 330.8 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.4748, allocations: 55.97 kB / 0.5695 GB, free: 12.18 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.475, allocations: 116.9 kB / 0.5696 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.4753, allocations: 171.8 kB / 0.5698 GB, free: 11.86 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4753, allocations: 0 / 0.5698 GB, free: 11.86 MB / 414.1 MB
Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005556/0.4758, allocations: 283.1 kB / 0.5701 GB, free: 11.57 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4759, allocations: 9.875 kB / 0.5701 GB, free: 11.56 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4759, allocations: 0 / 0.5701 GB, free: 11.56 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002742/0.4761, allocations: 69.67 kB / 0.5701 GB, free: 11.49 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.4763, allocations: 35.92 kB / 0.5702 GB, free: 11.45 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002576/0.4789, allocations: 2.818 MB / 0.5729 GB, free: 8.398 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.479, allocations: 8 kB / 0.5729 GB, free: 8.391 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.4791, allocations: 8 kB / 0.5729 GB, free: 8.383 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * 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 (18):
 * Single equations (assignments): 16
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,5,100.0%), (1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.4792, allocations: 145.8 kB / 0.5731 GB, free: 8.23 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.4793, allocations: 15.91 kB / 0.5731 GB, free: 8.215 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.4793, allocations: 21.81 kB / 0.5731 GB, free: 8.195 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4793, allocations: 4 kB / 0.5731 GB, free: 8.191 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.4793, allocations: 0 / 0.5731 GB, free: 8.191 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4793, allocations: 3.984 kB / 0.5731 GB, free: 8.188 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.4797, allocations: 260.5 kB / 0.5734 GB, free: 7.891 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.4797, allocations: 3.938 kB / 0.5734 GB, free: 7.887 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.822e-05/0.4798, allocations: 23.92 kB / 0.5734 GB, free: 7.863 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/0.48, allocations: 69.86 kB / 0.5735 GB, free: 7.789 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.48, allocations: 3.984 kB / 0.5735 GB, free: 7.785 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002432/0.4824, allocations: 2.802 MB / 0.5762 GB, free: 4.754 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4824, allocations: 0 / 0.5762 GB, free: 4.754 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006688/0.4831, allocations: 392.8 kB / 0.5766 GB, free: 4.348 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.4831, allocations: 20.11 kB / 0.5766 GB, free: 4.328 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.4831, allocations: 4 kB / 0.5766 GB, free: 4.324 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.4833, allocations: 19.98 kB / 0.5766 GB, free: 4.305 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.4834, allocations: 20.17 kB / 0.5766 GB, free: 4.285 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.4834, allocations: 4 kB / 0.5766 GB, free: 4.281 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001464/0.4835, allocations: 152.6 kB / 0.5768 GB, free: 4.133 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4835, allocations: 0 / 0.5768 GB, free: 4.133 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003815/0.4839, allocations: 64 kB / 0.5769 GB, free: 4.07 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (basicTransformer.i1)
 * 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 (9):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,5,100.0%), (1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001283/0.4841, allocations: 103.2 kB / 0.5769 GB, free: 3.957 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007086/0.4848, allocations: 399.5 kB / 0.5773 GB, free: 3.543 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4848, allocations: 0 / 0.5773 GB, free: 3.543 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000496/0.4853, allocations: 325.5 kB / 0.5776 GB, free: 3.199 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.4856, allocations: 35.86 kB / 0.5777 GB, free: 3.164 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.4867, allocations: 0.5173 MB / 0.5782 GB, free: 2.621 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.487, allocations: 0.744 MB / 0.5789 GB, free: 1.848 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 8.509e-05/0.4871, allocations: 13.95 kB / 0.5789 GB, free: 1.836 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.4872, allocations: 27.38 kB / 0.5789 GB, free: 1.809 MB / 414.1 MB
Notification: Performance of SimCode: time 2.9e-07/0.4872, allocations: 0 / 0.5789 GB, free: 1.809 MB / 414.1 MB
Notification: Performance of Templates: time 0.007361/0.4945, allocations: 2.862 MB / 0.5817 GB, free: 14.97 MB / 430.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.604264943860471]
Failed to read output from testmodel.py, exit status != 0:
0.5041657323017716 0.51879221 0.047258331
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f6c8b53d7b0>