Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 189 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4171/0.4171, allocations: 37.97 MB / 307.4 MB, free: 10.08 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 62.47 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1661, allocations: 56.46 MB / 431.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.006415/0.1726, allocations: 2.578 MB / 433.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1743, allocations: 0.6436 MB / 434.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003396/0.1747, allocations: 4 kB / 434.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.175, allocations: 27.77 kB / 434.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.1754, allocations: 63.47 kB / 434.5 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.1757, allocations: 55.94 kB / 434.6 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004749/0.1762, allocations: 286.6 kB / 434.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/0.1765, allocations: 88.58 kB / 434.9 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.1768, allocations: 115.6 kB / 435 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.177, allocations: 115.5 kB / 435.1 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.177, allocations: 24 kB / 435.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.61e-05/0.1771, allocations: 28 kB / 435.2 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/0.1772, allocations: 51.78 kB / 435.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.1773, allocations: 131.4 kB / 435.4 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.1776, allocations: 271.3 kB / 435.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1776, allocations: 0 / 435.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.1776, allocations: 0 / 435.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1777, allocations: 3.938 kB / 435.6 MB, free: 2.484 MB / 366.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.0008447/0.1785, allocations: 0.5379 MB / 436.2 MB, free: 1.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.1786, allocations: 11.89 kB / 436.2 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.1786, allocations: 28.66 kB / 436.2 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1789, allocations: 240.6 kB / 436.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.1789, allocations: 16.81 kB / 436.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.179, allocations: 28.36 kB / 436.5 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.1794, allocations: 191.6 kB / 436.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1794, allocations: 0 / 436.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.1794, allocations: 12 kB / 436.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.1794, allocations: 8 kB / 436.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.1797, allocations: 133.7 kB / 436.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.181, allocations: 0.8141 MB / 437.7 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.1812, allocations: 98.48 kB / 437.7 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.31e-05/0.1814, allocations: 48.78 kB / 437.8 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.1814, allocations: 4.188 kB / 437.8 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.1814, allocations: 34.5 kB / 437.8 MB, free: 104 kB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.1814, allocations: 4 kB / 437.8 MB, free: 100 kB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001766/0.1832, allocations: 0.7175 MB / 438.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.1833, allocations: 51.41 kB / 438.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.1835, allocations: 215.6 kB / 438.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.1835, allocations: 29.7 kB / 438.8 MB, free: 15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1837, allocations: 171.8 kB / 439 MB, free: 14.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.1837, allocations: 51.27 kB / 439.1 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.264e-05/0.1838, allocations: 45.7 kB / 439.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.184, allocations: 330.8 kB / 439.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.1841, allocations: 55.97 kB / 439.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.1843, allocations: 109.1 kB / 439.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.1846, allocations: 168.8 kB / 439.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1846, allocations: 7.938 kB / 439.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004968/0.1851, allocations: 286.3 kB / 440 MB, free: 13.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1851, allocations: 7.938 kB / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1851, allocations: 4 kB / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.1854, allocations: 73.83 kB / 440.1 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.1856, allocations: 27.98 kB / 440.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.1881, allocations: 3.009 MB / 443.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.1883, allocations: 16.03 kB / 443.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.1883, allocations: 16.05 kB / 443.2 MB, free: 10.3 MB / 382.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.0001637/0.1885, allocations: 137.7 kB / 443.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.1885, allocations: 19.72 kB / 443.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.1886, allocations: 21.88 kB / 443.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1886, allocations: 7.984 kB / 443.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.1886, allocations: 0.6562 kB / 443.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.1886, allocations: 0 / 443.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.1889, allocations: 293.5 kB / 443.7 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1889, allocations: 3.984 kB / 443.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-05/0.189, allocations: 12 kB / 443.7 MB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001777/0.1892, allocations: 69.66 kB / 443.7 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1892, allocations: 0 / 443.7 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.1916, allocations: 3.02 MB / 446.8 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1916, allocations: 0 / 446.8 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.1922, allocations: 400.1 kB / 447.2 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.1923, allocations: 101 kB / 447.3 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.1923, allocations: 0 / 447.3 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.1925, allocations: 15.98 kB / 447.3 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.1926, allocations: 19.97 kB / 447.3 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.1926, allocations: 4 kB / 447.3 MB, free: 5.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.1927, allocations: 153.5 kB / 447.4 MB, free: 5.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1927, allocations: 0 / 447.4 MB, free: 5.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003389/0.1931, allocations: 68 kB / 447.5 MB, free: 5.594 MB / 382.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.0001283/0.1932, allocations: 95.25 kB / 447.6 MB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007011/0.1939, allocations: 421.3 kB / 448 MB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1939, allocations: 0 / 448 MB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004089/0.1944, allocations: 325.3 kB / 448.3 MB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.1948, allocations: 35.94 kB / 448.4 MB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.1958, allocations: 0.5953 MB / 449 MB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1961, allocations: 0.748 MB / 449.7 MB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.013e-05/0.1962, allocations: 17.94 kB / 449.7 MB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.1963, allocations: 15.44 kB / 449.7 MB, free: 3.246 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1963, allocations: 7.938 kB / 449.8 MB, free: 3.238 MB / 382.1 MB Notification: Performance of Templates: time 0.006046/0.2023, allocations: 2.652 MB / 452.4 MB, free: 0.5898 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1)