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.001492/0.001492, allocations: 107.4 kB / 17.98 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 213.8 kB / 18.92 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 247.1 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2572/0.2572, allocations: 46.11 MB / 344.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 80.77 kB / 417.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1629, allocations: 62.45 MB / 480.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004786/0.1678, allocations: 2.615 MB / 482.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1692, allocations: 0.6661 MB / 483.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.1693, allocations: 7.938 kB / 483.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.1695, allocations: 27.77 kB / 483.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.1697, allocations: 59.52 kB / 483.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.17, allocations: 75.86 kB / 483.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00037/0.1704, allocations: 286.8 kB / 483.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.1706, allocations: 88.58 kB / 484 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.1709, allocations: 123.5 kB / 484.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1711, allocations: 115.5 kB / 484.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.986e-05/0.1711, allocations: 20 kB / 484.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-05/0.1712, allocations: 31.98 kB / 484.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.1713, allocations: 47.83 kB / 484.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.1714, allocations: 127.4 kB / 484.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.1717, allocations: 211.7 kB / 484.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1717, allocations: 0 / 484.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.1717, allocations: 3.984 kB / 484.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1718, allocations: 8 kB / 484.7 MB, free: 1.02 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.0009757/0.1727, allocations: 0.5263 MB / 485.2 MB, free: 456 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.1728, allocations: 12.03 kB / 485.2 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.173, allocations: 36.64 kB / 485.3 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.1734, allocations: 247.8 kB / 485.5 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.1734, allocations: 24.8 kB / 485.5 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.1735, allocations: 20.28 kB / 485.6 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.1739, allocations: 195.7 kB / 485.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1739, allocations: 0 / 485.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.1739, allocations: 12 kB / 485.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.174, allocations: 11.94 kB / 485.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.1743, allocations: 137.7 kB / 485.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.1758, allocations: 0.8063 MB / 486.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.176, allocations: 98.42 kB / 486.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.1761, allocations: 53.03 kB / 486.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.1761, allocations: 3.938 kB / 486.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.1762, allocations: 30.56 kB / 486.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.1762, allocations: 0 / 486.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001895/0.1781, allocations: 0.7199 MB / 487.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.1782, allocations: 63.41 kB / 487.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.1784, allocations: 210.9 kB / 487.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.1784, allocations: 29.7 kB / 487.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.1786, allocations: 163.8 kB / 488.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.1787, allocations: 55.2 kB / 488.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-05/0.1788, allocations: 49.61 kB / 488.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.179, allocations: 334.8 kB / 488.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.1791, allocations: 63.97 kB / 488.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.1793, allocations: 97.11 kB / 488.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.1796, allocations: 175.4 kB / 488.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1797, allocations: 0 / 488.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005505/0.1802, allocations: 289.2 kB / 489.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1802, allocations: 6.344 kB / 489.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1803, allocations: 0 / 489.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/0.1805, allocations: 77.66 kB / 489.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.1807, allocations: 27.98 kB / 489.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/0.1837, allocations: 3.025 MB / 492.2 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.1839, allocations: 4.172 kB / 492.3 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.1839, allocations: 12 kB / 492.3 MB, free: 8.832 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.0002497/0.1842, allocations: 137.7 kB / 492.4 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.1842, allocations: 20.45 kB / 492.4 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.1843, allocations: 29.92 kB / 492.4 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1843, allocations: 4 kB / 492.5 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1843, allocations: 0 / 492.5 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1843, allocations: 0 / 492.5 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.1847, allocations: 289.5 kB / 492.7 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1847, allocations: 3.938 kB / 492.7 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.25e-05/0.1848, allocations: 19.92 kB / 492.8 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.185, allocations: 73.61 kB / 492.8 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1851, allocations: 4 kB / 492.8 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/0.1879, allocations: 3.013 MB / 495.8 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1879, allocations: 0 / 495.8 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007009/0.1886, allocations: 400.7 kB / 496.2 MB, free: 4.492 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.1887, allocations: 92.95 kB / 496.3 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.1887, allocations: 7.984 kB / 496.3 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1889, allocations: 11.98 kB / 496.3 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.189, allocations: 20.05 kB / 496.4 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.189, allocations: 4.188 kB / 496.4 MB, free: 4.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.1892, allocations: 156.4 kB / 496.5 MB, free: 4.188 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1892, allocations: 0 / 496.5 MB, free: 4.188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.1896, allocations: 64 kB / 496.6 MB, free: 4.125 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.0001533/0.1897, allocations: 106.2 kB / 496.7 MB, free: 4.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007263/0.1905, allocations: 413.1 kB / 497.1 MB, free: 3.582 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1905, allocations: 0 / 497.1 MB, free: 3.582 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.1909, allocations: 325.7 kB / 497.4 MB, free: 3.238 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.1913, allocations: 34.19 kB / 497.4 MB, free: 3.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1925, allocations: 0.6244 MB / 498.1 MB, free: 2.551 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.193, allocations: 0.7517 MB / 498.8 MB, free: 1.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.1931, allocations: 15.44 kB / 498.8 MB, free: 1.754 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1931, allocations: 0 / 498.8 MB, free: 1.754 MB / 366.1 MB Notification: Performance of Templates: time 0.007846/0.2009, allocations: 4.586 MB / 0.4916 GB, free: 13.18 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)