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.0009277/0.0009277, allocations: 98.5 kB / 17.01 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 194.1 kB / 17.91 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 46.18 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003182, allocations: 8.219 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1694, allocations: 63.57 MB / 482.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003625/0.1731, allocations: 2.176 MB / 484.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1749, allocations: 0.6354 MB / 485.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003373/0.1752, allocations: 4 kB / 485.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.1755, allocations: 27.77 kB / 485.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.1758, allocations: 67.45 kB / 485.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.1762, allocations: 55.88 kB / 485.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004881/0.1767, allocations: 266.8 kB / 485.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.177, allocations: 75.66 kB / 485.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003917/0.1774, allocations: 103.6 kB / 485.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.1777, allocations: 95.55 kB / 485.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.1777, allocations: 12 kB / 485.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1778, allocations: 24 kB / 485.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.1779, allocations: 39.83 kB / 486 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.178, allocations: 69.58 kB / 486 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.1783, allocations: 211.6 kB / 486.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.1783, allocations: 0 / 486.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1783, allocations: 0 / 486.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.1784, allocations: 3.938 kB / 486.2 MB, free: 0.6484 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.001011/0.1794, allocations: 0.495 MB / 486.7 MB, free: 108 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.1794, allocations: 12.03 kB / 486.7 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.1797, allocations: 39.61 kB / 486.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.1801, allocations: 250.5 kB / 487 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.1802, allocations: 12.44 kB / 487 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.203e-05/0.1802, allocations: 28 kB / 487.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.1807, allocations: 191.3 kB / 487.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1807, allocations: 0 / 487.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.1807, allocations: 4 kB / 487.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1808, allocations: 4 kB / 487.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.1811, allocations: 145.7 kB / 487.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.1827, allocations: 0.8219 MB / 488.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1829, allocations: 98.55 kB / 488.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.183, allocations: 45.03 kB / 488.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.183, allocations: 3.938 kB / 488.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1831, allocations: 34.56 kB / 488.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/0.1831, allocations: 0 / 488.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001817/0.1849, allocations: 0.7525 MB / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.185, allocations: 55.41 kB / 489.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.1852, allocations: 214.8 kB / 489.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.1852, allocations: 29.7 kB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.1854, allocations: 167.8 kB / 489.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.1854, allocations: 55.25 kB / 489.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.1855, allocations: 4 kB / 489.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1856, allocations: 334.8 kB / 490 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1858, allocations: 64.62 kB / 490.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.186, allocations: 109.1 kB / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.1861, allocations: 71.94 kB / 490.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1861, allocations: 0 / 490.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005822/0.1867, allocations: 290.8 kB / 490.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.1868, allocations: 7.938 kB / 490.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1868, allocations: 8 kB / 490.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002651/0.1871, allocations: 77.77 kB / 490.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.1872, allocations: 31.98 kB / 490.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.1897, allocations: 2.805 MB / 493.5 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.1899, allocations: 16.17 kB / 493.5 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.1899, allocations: 4 kB / 493.5 MB, free: 8.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001638/0.19, allocations: 145.7 kB / 493.6 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.1901, allocations: 19.81 kB / 493.6 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.1902, allocations: 25.86 kB / 493.7 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1902, allocations: 8.062 kB / 493.7 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1902, allocations: 0 / 493.7 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1902, allocations: 0 / 493.7 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.1906, allocations: 289.5 kB / 494 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1906, allocations: 0 / 494 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.795e-05/0.1907, allocations: 19.98 kB / 494 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/0.1909, allocations: 65.67 kB / 494 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.1909, allocations: 4 kB / 494 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.1932, allocations: 2.804 MB / 496.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1933, allocations: 0 / 496.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006377/0.1939, allocations: 410.4 kB / 497.2 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/0.194, allocations: 101 kB / 497.3 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.194, allocations: 8 kB / 497.3 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.1942, allocations: 15.98 kB / 497.4 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.1943, allocations: 19.92 kB / 497.4 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.1943, allocations: 4 kB / 497.4 MB, free: 4.535 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001832/0.1945, allocations: 156.4 kB / 497.5 MB, free: 4.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1945, allocations: 4 kB / 497.5 MB, free: 4.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003774/0.1949, allocations: 64 kB / 497.6 MB, free: 4.316 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000157/0.195, allocations: 99.53 kB / 497.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007138/0.1958, allocations: 415.2 kB / 498.1 MB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1958, allocations: 0 / 498.1 MB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004921/0.1963, allocations: 337.5 kB / 498.4 MB, free: 3.426 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.1967, allocations: 27.95 kB / 498.5 MB, free: 3.398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1979, allocations: 0.6169 MB / 499.1 MB, free: 2.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.1983, allocations: 0.748 MB / 499.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.1985, allocations: 21.94 kB / 499.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.1985, allocations: 15.44 kB / 499.9 MB, free: 1.949 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1985, allocations: 0 / 499.9 MB, free: 1.949 MB / 366.1 MB Notification: Performance of Templates: time 0.006759/0.2053, allocations: 2.441 MB / 0.4905 GB, free: 15.52 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)