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) 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/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 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=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001815/0.001822, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002498/0.002498, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.058/2.058, allocations: 227.4 MB / 246.9 MB, free: 9.105 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3182/0.3182, allocations: 46.1 MB / 344.3 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002476/0.002476, allocations: 81.12 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1523, allocations: 62.45 MB / 479.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004582/0.1569, allocations: 2.611 MB / 482.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.1583, allocations: 0.67 MB / 483.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.1585, allocations: 7.938 kB / 483.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.1586, allocations: 35.77 kB / 483.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.1588, allocations: 55.53 kB / 483.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.1591, allocations: 75.86 kB / 483.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.1594, allocations: 274.8 kB / 483.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.1596, allocations: 76.39 kB / 483.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.1598, allocations: 111.5 kB / 483.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.1599, allocations: 115.4 kB / 483.9 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.16, allocations: 16 kB / 484 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.171e-05/0.1601, allocations: 16 kB / 484 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.1601, allocations: 47.83 kB / 484 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.1602, allocations: 123.4 kB / 484.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.1605, allocations: 211.7 kB / 484.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1605, allocations: 0 / 484.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1605, allocations: 0 / 484.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1605, allocations: 0 / 484.4 MB, free: 1.289 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008404/0.1614, allocations: 0.5263 MB / 484.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1614, allocations: 12.88 kB / 484.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.1616, allocations: 36.64 kB / 484.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.1619, allocations: 251.8 kB / 485.2 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.162, allocations: 16.81 kB / 485.2 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.162, allocations: 24.28 kB / 485.2 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.1624, allocations: 191.6 kB / 485.4 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1625, allocations: 0 / 485.4 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.1625, allocations: 8 kB / 485.4 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.1625, allocations: 8 kB / 485.4 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.1628, allocations: 141.7 kB / 485.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.1642, allocations: 0.8024 MB / 486.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.1644, allocations: 110.5 kB / 486.5 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1645, allocations: 48.83 kB / 486.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1645, allocations: 192 / 486.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1646, allocations: 34.5 kB / 486.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.1646, allocations: 0 / 486.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001861/0.1664, allocations: 0.733 MB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.1665, allocations: 51.41 kB / 487.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.1667, allocations: 214.9 kB / 487.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.1668, allocations: 29.7 kB / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1669, allocations: 163.8 kB / 487.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.1669, allocations: 59.19 kB / 487.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/0.167, allocations: 41.7 kB / 487.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1672, allocations: 338.7 kB / 488.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.1673, allocations: 63.97 kB / 488.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.1675, allocations: 105.1 kB / 488.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.1678, allocations: 173 kB / 488.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1678, allocations: 0 / 488.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005547/0.1684, allocations: 285.2 kB / 488.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1684, allocations: 8 kB / 488.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1684, allocations: 0 / 488.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002605/0.1687, allocations: 69.67 kB / 488.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.1689, allocations: 27.98 kB / 488.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/0.1714, allocations: 2.809 MB / 491.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.1715, allocations: 16.02 kB / 491.7 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.1716, allocations: 8 kB / 491.7 MB, free: 9.324 MB / 366.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.0001615/0.1717, allocations: 137.8 kB / 491.8 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.1718, allocations: 19.75 kB / 491.9 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.1718, allocations: 29.8 kB / 491.9 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1719, allocations: 4 kB / 491.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1719, allocations: 0 / 491.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1719, allocations: 0 / 491.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.1722, allocations: 285.5 kB / 492.2 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1722, allocations: 0 / 492.2 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.1723, allocations: 15.98 kB / 492.2 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002131/0.1726, allocations: 69.67 kB / 492.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1726, allocations: 3.938 kB / 492.3 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.1749, allocations: 2.804 MB / 495.1 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1749, allocations: 0 / 495.1 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006644/0.1756, allocations: 396.7 kB / 495.4 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.1756, allocations: 96.8 kB / 495.5 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.1757, allocations: 8.125 kB / 495.6 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.1759, allocations: 15.98 kB / 495.6 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.1759, allocations: 19.97 kB / 495.6 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.176, allocations: 4 kB / 495.6 MB, free: 5.062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.1761, allocations: 152.4 kB / 495.7 MB, free: 4.914 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1761, allocations: 4 kB / 495.7 MB, free: 4.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00038/0.1765, allocations: 64 kB / 495.8 MB, free: 4.848 MB / 366.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.0001333/0.1767, allocations: 103.2 kB / 495.9 MB, free: 4.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007125/0.1774, allocations: 397.3 kB / 496.3 MB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1774, allocations: 4.312 kB / 496.3 MB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004823/0.1779, allocations: 329.2 kB / 496.6 MB, free: 3.969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.1784, allocations: 42.22 kB / 496.7 MB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1795, allocations: 0.6277 MB / 497.3 MB, free: 3.273 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1799, allocations: 0.744 MB / 498 MB, free: 2.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.1799, allocations: 19.44 kB / 498.1 MB, free: 2.484 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1799, allocations: 0 / 498.1 MB, free: 2.484 MB / 366.1 MB Notification: Performance of Templates: time 0.006795/0.1867, allocations: 4.556 MB / 0.4908 GB, free: 13.93 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.makefile (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)