Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 194.4 kB / 16.78 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 226.5 MB / 244.1 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007906/0.0007906, allocations: 113.4 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3324/0.3324, allocations: 44.83 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002596/0.0002597, allocations: 8 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3286, allocations: 62.96 MB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.4393, allocations: 89.72 MB / 0.6041 GB, free: 15.67 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001732/0.4395, allocations: 63.97 kB / 0.6041 GB, free: 15.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0104/0.4499, allocations: 4.158 MB / 0.6082 GB, free: 11.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.45, allocations: 0 / 0.6082 GB, free: 11.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.45, allocations: 8 kB / 0.6082 GB, free: 11.42 MB / 426.7 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.0007781/0.4508, allocations: 0.5145 MB / 0.6087 GB, free: 10.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.4509, allocations: 8.031 kB / 0.6087 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.451, allocations: 36.64 kB / 0.6087 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.4514, allocations: 250 kB / 0.609 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.4515, allocations: 16.81 kB / 0.609 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.4515, allocations: 24.38 kB / 0.609 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.4519, allocations: 195.8 kB / 0.6092 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.4519, allocations: 416 / 0.6092 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.452, allocations: 15.92 kB / 0.6092 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.452, allocations: 7.938 kB / 0.6092 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.4523, allocations: 153.6 kB / 0.6094 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.4538, allocations: 0.8168 MB / 0.6102 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.454, allocations: 98.48 kB / 0.6103 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.4541, allocations: 48.83 kB / 0.6103 GB, free: 9.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.4541, allocations: 3.938 kB / 0.6103 GB, free: 9.066 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.4541, allocations: 42.56 kB / 0.6104 GB, free: 9.016 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.4542, allocations: 0 / 0.6104 GB, free: 9.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.001861/0.456, allocations: 0.7427 MB / 0.6111 GB, free: 8.215 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.4561, allocations: 51.41 kB / 0.6111 GB, free: 8.152 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.4563, allocations: 207.8 kB / 0.6113 GB, free: 7.938 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.4564, allocations: 25.7 kB / 0.6114 GB, free: 7.906 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.4565, allocations: 167.8 kB / 0.6115 GB, free: 7.738 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.4566, allocations: 63.09 kB / 0.6116 GB, free: 7.676 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.4566, allocations: 8 kB / 0.6116 GB, free: 7.668 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4568, allocations: 326.8 kB / 0.6119 GB, free: 7.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.4569, allocations: 59.97 kB / 0.612 GB, free: 7.281 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.4571, allocations: 113 kB / 0.6121 GB, free: 7.152 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.4575, allocations: 183.2 kB / 0.6122 GB, free: 6.957 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4575, allocations: 0 / 0.6122 GB, free: 6.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005382/0.458, allocations: 290.9 kB / 0.6125 GB, free: 6.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4581, allocations: 4 kB / 0.6125 GB, free: 6.656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.4581, allocations: 4 kB / 0.6125 GB, free: 6.652 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.4583, allocations: 70.31 kB / 0.6126 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.4585, allocations: 35.92 kB / 0.6126 GB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.4607, allocations: 2.809 MB / 0.6154 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.4609, allocations: 8 kB / 0.6154 GB, free: 3.457 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.4609, allocations: 12.06 kB / 0.6154 GB, free: 3.445 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.4611, allocations: 137.8 kB / 0.6155 GB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.4611, allocations: 19.81 kB / 0.6155 GB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.4611, allocations: 21.95 kB / 0.6156 GB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4612, allocations: 7.922 kB / 0.6156 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.4612, allocations: 4 kB / 0.6156 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4612, allocations: 3.984 kB / 0.6156 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.4615, allocations: 281.5 kB / 0.6158 GB, free: 2.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4615, allocations: 11.94 kB / 0.6159 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.016e-05/0.4616, allocations: 15.98 kB / 0.6159 GB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001815/0.4618, allocations: 69.61 kB / 0.6159 GB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.4618, allocations: 7.984 kB / 0.6159 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/0.4638, allocations: 2.804 MB / 0.6187 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4639, allocations: 0 / 0.6187 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.4645, allocations: 409 kB / 0.6191 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.671e-05/0.4646, allocations: 92.95 kB / 0.6192 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.4646, allocations: 0 / 0.6192 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.4648, allocations: 24.05 kB / 0.6192 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.4649, allocations: 15.97 kB / 0.6192 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.4649, allocations: 8 kB / 0.6192 GB, free: 15.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001315/0.465, allocations: 145.5 kB / 0.6193 GB, free: 15.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.465, allocations: 0 / 0.6193 GB, free: 15.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.4654, allocations: 72 kB / 0.6194 GB, free: 14.95 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/0.4655, allocations: 107.2 kB / 0.6195 GB, free: 14.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006108/0.4661, allocations: 421.2 kB / 0.6199 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4661, allocations: 0 / 0.6199 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003815/0.4665, allocations: 321.3 kB / 0.6202 GB, free: 14.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.4669, allocations: 32.11 kB / 0.6203 GB, free: 14.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009496/0.4678, allocations: 0.6449 MB / 0.6209 GB, free: 13.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.4681, allocations: 0.7479 MB / 0.6216 GB, free: 12.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.4682, allocations: 19.44 kB / 0.6216 GB, free: 12.56 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4682, allocations: 0 / 0.6216 GB, free: 12.56 MB / 442.7 MB Notification: Performance of Templates: time 0.00579/0.474, allocations: 4.5 MB / 0.626 GB, free: 8.074 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer --alarm=480 > ModelicaTest_trunk_cpp_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)