Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.976/1.976, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3914/0.3914, allocations: 39.94 MB / 309.7 MB, free: 9.293 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.2. 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.00339/0.003391, allocations: 67.91 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1702, allocations: 56.88 MB / 434.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004318/0.1746, allocations: 2.532 MB / 437 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1758, allocations: 0.6359 MB / 437.6 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.176, allocations: 4 kB / 437.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.1762, allocations: 39.58 kB / 437.7 MB, free: 480 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.1765, allocations: 75.33 kB / 437.8 MB, free: 404 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.1768, allocations: 67.86 kB / 437.8 MB, free: 336 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.1772, allocations: 286.8 kB / 438.1 MB, free: 48 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.1775, allocations: 88.56 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.1777, allocations: 119.6 kB / 438.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.178, allocations: 119.5 kB / 438.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.773e-05/0.178, allocations: 20 kB / 438.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.345e-05/0.1781, allocations: 24 kB / 438.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.1782, allocations: 55.83 kB / 438.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.1783, allocations: 131.3 kB / 438.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.1787, allocations: 271.3 kB / 438.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.1787, allocations: 0 / 438.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1787, allocations: 0 / 438.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.1787, allocations: 4 kB / 438.9 MB, free: 15.23 MB / 382.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.0009966/0.1797, allocations: 0.5341 MB / 439.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.1798, allocations: 11.89 kB / 439.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.907e-05/0.1799, allocations: 28.66 kB / 439.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.1802, allocations: 243.8 kB / 439.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.1803, allocations: 16.81 kB / 439.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.079e-05/0.1804, allocations: 28.36 kB / 439.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.1808, allocations: 191.6 kB / 440 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1808, allocations: 0 / 440 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.1808, allocations: 8 kB / 440 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.1809, allocations: 8 kB / 440 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.1811, allocations: 141.6 kB / 440.1 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.1825, allocations: 0.8025 MB / 440.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.1828, allocations: 98.42 kB / 441 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1829, allocations: 48.84 kB / 441.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1829, allocations: 4 kB / 441.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.418e-05/0.183, allocations: 34.55 kB / 441.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.183, allocations: 0 / 441.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001898/0.1849, allocations: 0.7253 MB / 441.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.185, allocations: 51.41 kB / 441.9 MB, free: 12.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.1852, allocations: 215.7 kB / 442.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.1853, allocations: 29.7 kB / 442.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.1854, allocations: 167.8 kB / 442.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/0.1855, allocations: 51.27 kB / 442.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.1855, allocations: 45.61 kB / 442.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1857, allocations: 330.8 kB / 442.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.1859, allocations: 55.97 kB / 442.8 MB, free: 11.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.1861, allocations: 117 kB / 442.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.1864, allocations: 180.2 kB / 443 MB, free: 10.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1864, allocations: 0 / 443 MB, free: 10.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005195/0.1869, allocations: 275 kB / 443.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.187, allocations: 12 kB / 443.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.187, allocations: 0 / 443.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002888/0.1873, allocations: 69.67 kB / 443.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.1875, allocations: 31.92 kB / 443.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002615/0.1901, allocations: 3.028 MB / 446.5 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.1902, allocations: 8 kB / 446.5 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.1903, allocations: 11.98 kB / 446.5 MB, free: 7.043 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.0001466/0.1904, allocations: 133.8 kB / 446.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.1905, allocations: 15.81 kB / 446.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.1905, allocations: 25.88 kB / 446.6 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1905, allocations: 8.047 kB / 446.7 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1905, allocations: 0 / 446.7 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1906, allocations: 0 / 446.7 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.1909, allocations: 281.5 kB / 446.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1909, allocations: 4.172 kB / 446.9 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.191, allocations: 23.94 kB / 447 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.1912, allocations: 73.66 kB / 447 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1912, allocations: 0.6562 kB / 447 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00251/0.1937, allocations: 3.009 MB / 450 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1938, allocations: 4 kB / 450 MB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.1944, allocations: 400.7 kB / 450.4 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.1945, allocations: 92.95 kB / 450.5 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1945, allocations: 0 / 450.5 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.1947, allocations: 19.98 kB / 450.5 MB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.963e-05/0.1947, allocations: 15.91 kB / 450.6 MB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.1948, allocations: 12.06 kB / 450.6 MB, free: 2.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.1949, allocations: 153.5 kB / 450.7 MB, free: 2.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1949, allocations: 0 / 450.7 MB, free: 2.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003686/0.1953, allocations: 64 kB / 450.8 MB, free: 2.348 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.0001462/0.1954, allocations: 103.2 kB / 450.9 MB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007173/0.1962, allocations: 409.2 kB / 451.3 MB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.1962, allocations: 0 / 451.3 MB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.1966, allocations: 333.1 kB / 451.6 MB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.1971, allocations: 40.22 kB / 451.6 MB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1982, allocations: 0.5099 MB / 452.2 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.1986, allocations: 0.744 MB / 452.9 MB, free: 120 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.579e-05/0.1987, allocations: 21.94 kB / 452.9 MB, free: 96 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.1988, allocations: 15.44 kB / 452.9 MB, free: 80 kB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1988, allocations: 0 / 452.9 MB, free: 80 kB / 382.1 MB Notification: Performance of Templates: time 0.2466/0.4453, allocations: 2.669 MB / 455.6 MB, free: 51.06 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1)