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.001513/0.001514, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001658, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2653/0.2653, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002537/0.002538, allocations: 82.83 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1637, allocations: 62.46 MB / 480.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.005446/0.1692, allocations: 2.585 MB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1709, allocations: 0.6622 MB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.171, allocations: 4 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.1713, allocations: 43.58 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.1715, allocations: 71.34 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.1719, allocations: 83.83 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.1723, allocations: 286.8 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.1726, allocations: 84.58 kB / 483.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.1728, allocations: 115.6 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.1731, allocations: 123.5 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.1731, allocations: 27.94 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.722e-05/0.1732, allocations: 24 kB / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.1733, allocations: 47.84 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.1734, allocations: 131.4 kB / 484.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.1739, allocations: 283.3 kB / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.1739, allocations: 0 / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1739, allocations: 4 kB / 484.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.1739, allocations: 0 / 484.7 MB, free: 0.6523 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.001227/0.1752, allocations: 0.5262 MB / 485.2 MB, free: 80 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.515e-05/0.1752, allocations: 16.03 kB / 485.2 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.1755, allocations: 36.64 kB / 485.2 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.176, allocations: 247.9 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.176, allocations: 20.75 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.1761, allocations: 20.28 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.1766, allocations: 195.6 kB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1766, allocations: 0 / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.1766, allocations: 15.94 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.1767, allocations: 4 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.177, allocations: 141.7 kB / 485.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.1786, allocations: 0.8102 MB / 486.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.1788, allocations: 98.48 kB / 486.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.179, allocations: 48.84 kB / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.179, allocations: 0 / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.179, allocations: 30.56 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 3.717e-06/0.1791, allocations: 4 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.002024/0.1811, allocations: 0.7278 MB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.1812, allocations: 55.41 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.1814, allocations: 214.9 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.1815, allocations: 29.7 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.1817, allocations: 163.8 kB / 488 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.1817, allocations: 59.19 kB / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.1818, allocations: 53.61 kB / 488.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.1821, allocations: 334.8 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.1822, allocations: 59.97 kB / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.1824, allocations: 97.12 kB / 488.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.1828, allocations: 184 kB / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1828, allocations: 0 / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005675/0.1834, allocations: 282.8 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.1834, allocations: 4 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1834, allocations: 7.984 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/0.1837, allocations: 69.78 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.1839, allocations: 31.97 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.187, allocations: 3.015 MB / 492.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.1873, allocations: 8.016 kB / 492.2 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.1873, allocations: 12 kB / 492.2 MB, free: 8.457 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.0002403/0.1875, allocations: 141.8 kB / 492.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.1876, allocations: 15.81 kB / 492.4 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.1877, allocations: 25.86 kB / 492.4 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1877, allocations: 4 kB / 492.4 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1877, allocations: 3.938 kB / 492.4 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1877, allocations: 0 / 492.4 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.1881, allocations: 293.4 kB / 492.7 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1881, allocations: 0 / 492.7 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.129e-05/0.1882, allocations: 19.98 kB / 492.7 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/0.1884, allocations: 65.67 kB / 492.8 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.1884, allocations: 4 kB / 492.8 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/0.1913, allocations: 3.013 MB / 495.8 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1914, allocations: 4.062 kB / 495.8 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007285/0.1921, allocations: 395 kB / 496.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-05/0.1922, allocations: 92.95 kB / 496.3 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.1922, allocations: 8 kB / 496.3 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.1924, allocations: 23.92 kB / 496.3 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.1925, allocations: 15.97 kB / 496.3 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1925, allocations: 4 kB / 496.3 MB, free: 3.969 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002375/0.1928, allocations: 156.4 kB / 496.5 MB, free: 3.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1928, allocations: 0 / 496.5 MB, free: 3.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004262/0.1932, allocations: 64 kB / 496.5 MB, free: 3.754 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.0001643/0.1934, allocations: 103.2 kB / 496.6 MB, free: 3.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008424/0.1942, allocations: 405.1 kB / 497 MB, free: 3.219 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1943, allocations: 320 / 497 MB, free: 3.219 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005898/0.1949, allocations: 325.4 kB / 497.4 MB, free: 2.875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.1953, allocations: 43.73 kB / 497.4 MB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.1964, allocations: 0.5158 MB / 497.9 MB, free: 2.293 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.1969, allocations: 0.7478 MB / 498.7 MB, free: 1.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.419e-05/0.197, allocations: 21.94 kB / 498.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.197, allocations: 15.44 kB / 498.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.197, allocations: 0 / 498.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of Templates: time 0.007624/0.2047, allocations: 2.7 MB / 0.4896 GB, free: 14.81 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)