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.001048/0.001048, allocations: 93.14 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001294, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2437/0.2437, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003373, allocations: 4 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 63.55 MB / 483.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.002921/0.1613, allocations: 2.261 MB / 485.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1625, allocations: 0.6506 MB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.1626, allocations: 11.94 kB / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.1628, allocations: 31.77 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.1629, allocations: 59.52 kB / 486.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.1632, allocations: 71.86 kB / 486.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.1635, allocations: 278.7 kB / 486.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.1637, allocations: 81.02 kB / 486.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.1639, allocations: 103.5 kB / 486.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1641, allocations: 103.5 kB / 486.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.1641, allocations: 12 kB / 486.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.002e-05/0.1642, allocations: 23.98 kB / 486.7 MB, free: 500 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.1643, allocations: 35.84 kB / 486.8 MB, free: 464 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.1644, allocations: 137.1 kB / 486.9 MB, free: 320 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.1647, allocations: 275.2 kB / 487.2 MB, free: 44 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1647, allocations: 0 / 487.2 MB, free: 44 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1647, allocations: 0 / 487.2 MB, free: 44 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1647, allocations: 0 / 487.2 MB, free: 44 kB / 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.0007521/0.1655, allocations: 0.4952 MB / 487.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1655, allocations: 8.875 kB / 487.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.1657, allocations: 44.55 kB / 487.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.166, allocations: 247.8 kB / 488 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.1661, allocations: 16.81 kB / 488 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.1661, allocations: 20.38 kB / 488 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.1665, allocations: 195.6 kB / 488.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.1665, allocations: 0 / 488.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.1665, allocations: 12 kB / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1666, allocations: 4 kB / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.1668, allocations: 141.7 kB / 488.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.1681, allocations: 0.8181 MB / 489.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.1684, allocations: 102.5 kB / 489.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.911e-05/0.1685, allocations: 48.84 kB / 489.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.1685, allocations: 4.172 kB / 489.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.1685, allocations: 38.5 kB / 489.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.1685, allocations: 0 / 489.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001773/0.1703, allocations: 0.7592 MB / 490.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.1704, allocations: 55.39 kB / 490.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1706, allocations: 207 kB / 490.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1706, allocations: 33.8 kB / 490.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.1707, allocations: 175.7 kB / 490.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.1708, allocations: 59.23 kB / 490.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.1708, allocations: 17.72 kB / 490.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.171, allocations: 334.8 kB / 491 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.1711, allocations: 67.97 kB / 491 MB, free: 11.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.1713, allocations: 105.1 kB / 491.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.1716, allocations: 187.7 kB / 491.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1716, allocations: 8 kB / 491.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005428/0.1722, allocations: 282.8 kB / 491.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1722, allocations: 8.156 kB / 491.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1722, allocations: 7.984 kB / 491.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.1725, allocations: 61.69 kB / 491.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.1727, allocations: 35.97 kB / 491.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.175, allocations: 2.813 MB / 494.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.1752, allocations: 12.03 kB / 494.6 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.1752, allocations: 8 kB / 494.6 MB, free: 8.051 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.0001624/0.1754, allocations: 141.8 kB / 494.7 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.1754, allocations: 19.81 kB / 494.7 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.1755, allocations: 29.8 kB / 494.7 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1755, allocations: 0 / 494.7 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1755, allocations: 0 / 494.7 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1755, allocations: 4 kB / 494.8 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.1759, allocations: 285.5 kB / 495 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1759, allocations: 0 / 495 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.566e-05/0.176, allocations: 19.98 kB / 495.1 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/0.1762, allocations: 69.67 kB / 495.1 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1762, allocations: 4.125 kB / 495.1 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/0.1786, allocations: 2.807 MB / 497.9 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1786, allocations: 0 / 497.9 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006607/0.1793, allocations: 411.6 kB / 498.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.1794, allocations: 100.8 kB / 498.4 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.1794, allocations: 4 kB / 498.4 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.1796, allocations: 15.98 kB / 498.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.1797, allocations: 24.03 kB / 498.5 MB, free: 3.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.1797, allocations: 4.188 kB / 498.5 MB, free: 3.762 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.1799, allocations: 156.4 kB / 498.6 MB, free: 3.609 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1799, allocations: 3.938 kB / 498.6 MB, free: 3.605 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003812/0.1803, allocations: 64 kB / 498.7 MB, free: 3.543 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.0001554/0.1804, allocations: 106.4 kB / 498.8 MB, free: 3.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007573/0.1812, allocations: 419.6 kB / 499.2 MB, free: 2.996 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1812, allocations: 320 / 499.2 MB, free: 2.996 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.1817, allocations: 333.3 kB / 499.5 MB, free: 2.645 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.1821, allocations: 39.72 kB / 499.6 MB, free: 2.605 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.1832, allocations: 0.6364 MB / 0.4885 GB, free: 1.949 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.1836, allocations: 0.748 MB / 0.4892 GB, free: 1.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.989e-05/0.1837, allocations: 13.95 kB / 0.4892 GB, free: 1.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.1838, allocations: 19.42 kB / 0.4892 GB, free: 1.141 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1838, allocations: 3.938 kB / 0.4893 GB, free: 1.137 MB / 366.1 MB Notification: Performance of Templates: time 0.006711/0.1905, allocations: 2.506 MB / 0.4917 GB, free: 14.65 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)