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.001322/0.001322, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001603/0.001603, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.4 MB / 246.4 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2218/0.2218, allocations: 46.11 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 76.12 kB / 417 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1447, allocations: 62.45 MB / 479.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.005162/0.1499, allocations: 2.623 MB / 482.1 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.1516, allocations: 0.67 MB / 482.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002809/0.1519, allocations: 4 kB / 482.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.1522, allocations: 31.77 kB / 482.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.1525, allocations: 59.47 kB / 482.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.1529, allocations: 67.94 kB / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004627/0.1534, allocations: 290.7 kB / 483.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.1536, allocations: 80.58 kB / 483.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.154, allocations: 131.6 kB / 483.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.1542, allocations: 119.5 kB / 483.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.1542, allocations: 20 kB / 483.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-05/0.1543, allocations: 28 kB / 483.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.1544, allocations: 47.78 kB / 483.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.1545, allocations: 127.4 kB / 483.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.1549, allocations: 283.2 kB / 484 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1549, allocations: 4 kB / 484 MB, free: 1.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1549, allocations: 0 / 484 MB, free: 1.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1549, allocations: 0 / 484 MB, free: 1.051 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.000868/0.1558, allocations: 0.5341 MB / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.1558, allocations: 8.031 kB / 484.6 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.156, allocations: 36.64 kB / 484.6 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.1564, allocations: 243.9 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.1564, allocations: 16.81 kB / 484.9 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.1564, allocations: 28.28 kB / 484.9 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.1569, allocations: 195.5 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1569, allocations: 0 / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.1569, allocations: 12 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1569, allocations: 4 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.1572, allocations: 141.6 kB / 485.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.1585, allocations: 0.8064 MB / 486 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.1587, allocations: 98.42 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.58e-05/0.1588, allocations: 48.84 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.1588, allocations: 4 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.1589, allocations: 34.56 kB / 486.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 4.648e-06/0.1589, allocations: 3.984 kB / 486.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001807/0.1607, allocations: 0.7214 MB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.1608, allocations: 63.39 kB / 487 MB, free: 13.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.161, allocations: 207 kB / 487.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1611, allocations: 29.7 kB / 487.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1612, allocations: 171.8 kB / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.1612, allocations: 59.19 kB / 487.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.1614, allocations: 41.62 kB / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1615, allocations: 338.7 kB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.1617, allocations: 63.97 kB / 487.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.1618, allocations: 101.1 kB / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.1621, allocations: 169.1 kB / 488.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1621, allocations: 0 / 488.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000521/0.1627, allocations: 289.2 kB / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1627, allocations: 4 kB / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1627, allocations: 4 kB / 488.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002429/0.1629, allocations: 65.67 kB / 488.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.1631, allocations: 31.92 kB / 488.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002946/0.1661, allocations: 3.022 MB / 491.6 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.1663, allocations: 8.031 kB / 491.6 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.1663, allocations: 8.656 kB / 491.6 MB, free: 8.863 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.0002225/0.1665, allocations: 133.8 kB / 491.7 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.1666, allocations: 19.81 kB / 491.7 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.1666, allocations: 29.86 kB / 491.8 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1666, allocations: 4 kB / 491.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.1667, allocations: 0 / 491.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1667, allocations: 0 / 491.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.1671, allocations: 297.6 kB / 492.1 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.1671, allocations: 4 kB / 492.1 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.467e-05/0.1672, allocations: 15.98 kB / 492.1 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002033/0.1674, allocations: 69.67 kB / 492.2 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.1674, allocations: 4 kB / 492.2 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003087/0.1705, allocations: 3.013 MB / 495.2 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1705, allocations: 0 / 495.2 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006549/0.1712, allocations: 403.1 kB / 495.6 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.1713, allocations: 92.91 kB / 495.7 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1713, allocations: 7.938 kB / 495.7 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.1715, allocations: 15.98 kB / 495.7 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.1716, allocations: 19.98 kB / 495.7 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.1716, allocations: 4 kB / 495.7 MB, free: 4.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.1717, allocations: 160.4 kB / 495.9 MB, free: 4.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1717, allocations: 0 / 495.9 MB, free: 4.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003583/0.1721, allocations: 64 kB / 495.9 MB, free: 4.152 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.0001389/0.1722, allocations: 102.2 kB / 496 MB, free: 4.043 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006842/0.1729, allocations: 409.2 kB / 496.4 MB, free: 3.617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.1729, allocations: 0 / 496.4 MB, free: 3.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.1734, allocations: 325.6 kB / 496.7 MB, free: 3.273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.1739, allocations: 31.8 kB / 496.8 MB, free: 3.242 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.1751, allocations: 0.6055 MB / 497.4 MB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.1755, allocations: 0.7556 MB / 498.1 MB, free: 1.828 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.907e-05/0.1756, allocations: 21.94 kB / 498.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.1757, allocations: 15.44 kB / 498.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1757, allocations: 0 / 498.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of Templates: time 0.005988/0.1817, allocations: 2.669 MB / 0.4891 GB, free: 15.15 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)