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.0009245/0.0009243, allocations: 97.75 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001402, allocations: 201 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2552/0.2552, allocations: 46.2 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005319/0.0005317, allocations: 15.97 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1635, allocations: 63.55 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.00311/0.1666, allocations: 2.261 MB / 485.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1681, allocations: 0.6584 MB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.1683, allocations: 7.938 kB / 486 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.1684, allocations: 31.77 kB / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.1685, allocations: 63.47 kB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.1688, allocations: 67.94 kB / 486.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.1691, allocations: 278.8 kB / 486.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.1692, allocations: 72.97 kB / 486.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.1694, allocations: 103.6 kB / 486.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1696, allocations: 107.5 kB / 486.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.1696, allocations: 12 kB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.1697, allocations: 15.98 kB / 486.7 MB, free: 492 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.1697, allocations: 39.84 kB / 486.8 MB, free: 452 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.1699, allocations: 137.1 kB / 486.9 MB, free: 308 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.1701, allocations: 275.1 kB / 487.2 MB, free: 32 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1701, allocations: 0 / 487.2 MB, free: 32 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1702, allocations: 0 / 487.2 MB, free: 32 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1702, allocations: 0 / 487.2 MB, free: 32 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.0006983/0.1709, allocations: 0.4991 MB / 487.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1709, allocations: 12.88 kB / 487.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.1711, allocations: 44.55 kB / 487.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.1714, allocations: 239.9 kB / 488 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1714, allocations: 16.81 kB / 488 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.1715, allocations: 24.38 kB / 488 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.1718, allocations: 191.6 kB / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1718, allocations: 4 kB / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.1719, allocations: 8 kB / 488.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1719, allocations: 8 kB / 488.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.1722, allocations: 145.6 kB / 488.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.1734, allocations: 0.8181 MB / 489.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.1736, allocations: 102.4 kB / 489.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.1737, allocations: 52.84 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.1738, allocations: 0 / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1738, allocations: 30.56 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1738, allocations: 0 / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001876/0.1757, allocations: 0.7551 MB / 490.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.1758, allocations: 59.41 kB / 490.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.176, allocations: 214.8 kB / 490.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.176, allocations: 29.7 kB / 490.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1761, allocations: 171.8 kB / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.1762, allocations: 59.14 kB / 490.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.1763, allocations: 25.7 kB / 490.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1764, allocations: 330.8 kB / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.1766, allocations: 67.97 kB / 491 MB, free: 11.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.1768, allocations: 105.1 kB / 491.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.1771, allocations: 181 kB / 491.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1771, allocations: 0 / 491.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005595/0.1776, allocations: 293.6 kB / 491.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.1777, allocations: 8 kB / 491.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1777, allocations: 0 / 491.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002597/0.178, allocations: 73.83 kB / 491.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.1781, allocations: 35.92 kB / 491.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/0.1807, allocations: 2.805 MB / 494.5 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.1808, allocations: 11.98 kB / 494.5 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.1809, allocations: 12 kB / 494.5 MB, free: 8.039 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.0001584/0.181, allocations: 133.8 kB / 494.7 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.1811, allocations: 19.88 kB / 494.7 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.1811, allocations: 29.8 kB / 494.7 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1811, allocations: 4 kB / 494.7 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.1812, allocations: 0 / 494.7 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1812, allocations: 0 / 494.7 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.1815, allocations: 289.5 kB / 495 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1815, allocations: 0 / 495 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.279e-05/0.1816, allocations: 15.98 kB / 495 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000202/0.1818, allocations: 73.61 kB / 495.1 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.1819, allocations: 7.938 kB / 495.1 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.1846, allocations: 2.808 MB / 497.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.1846, allocations: 4.688 kB / 497.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.1854, allocations: 415 kB / 498.3 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.1855, allocations: 92.94 kB / 498.4 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.1855, allocations: 4 kB / 498.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.1857, allocations: 23.98 kB / 498.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.1858, allocations: 11.98 kB / 498.5 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.1858, allocations: 4.203 kB / 498.5 MB, free: 3.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001886/0.186, allocations: 164.3 kB / 498.6 MB, free: 3.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.475e-06/0.186, allocations: 0 / 498.6 MB, free: 3.594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004035/0.1864, allocations: 67.94 kB / 498.7 MB, free: 3.527 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.0001696/0.1866, allocations: 103.4 kB / 498.8 MB, free: 3.414 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.1877, allocations: 417.1 kB / 499.2 MB, free: 2.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1877, allocations: 0 / 499.2 MB, free: 2.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005332/0.1883, allocations: 337.7 kB / 499.5 MB, free: 2.625 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.1887, allocations: 27.8 kB / 499.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.1899, allocations: 0.6465 MB / 0.4885 GB, free: 1.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.1903, allocations: 0.7401 MB / 0.4892 GB, free: 1.164 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.1904, allocations: 21.95 kB / 0.4892 GB, free: 1.141 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.1905, allocations: 15.44 kB / 0.4892 GB, free: 1.129 MB / 366.1 MB Notification: Performance of SimCode: time 2.865e-06/0.1905, allocations: 0 / 0.4892 GB, free: 1.129 MB / 366.1 MB Notification: Performance of Templates: time 0.007282/0.1978, allocations: 2.519 MB / 0.4917 GB, free: 14.63 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)