Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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) 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(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 92.58 kB / 16.65 MB, free: 6.535 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.001187/0.001187, allocations: 174.2 kB / 17.56 MB, free: 6.184 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.672/1.672, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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: Performance of FrontEnd - loaded program: time 0.000485/0.000485, allocations: 16.52 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1425, allocations: 47.58 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005313/0.1479, allocations: 3.348 MB / 331.7 MB, free: 396 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1499, allocations: 0.9941 MB / 332.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.1501, allocations: 11.94 kB / 332.7 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.1504, allocations: 123.2 kB / 332.8 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007387/0.1512, allocations: 254.8 kB / 333 MB, free: 15 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.1515, allocations: 119.8 kB / 333.2 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.1532, allocations: 1.65 MB / 334.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.1543, allocations: 0.9478 MB / 335.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008643/0.1552, allocations: 466 kB / 336.2 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009037/0.1561, allocations: 0.6534 MB / 336.9 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.1563, allocations: 76 kB / 336.9 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.1564, allocations: 72 kB / 337 MB, free: 10.99 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.1568, allocations: 358.8 kB / 337.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006885/0.1575, allocations: 0.643 MB / 338 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.1592, allocations: 1.908 MB / 339.9 MB, free: 8.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1592, allocations: 0 / 339.9 MB, free: 8.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.1592, allocations: 0 / 339.9 MB, free: 8.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.1593, allocations: 0 / 339.9 MB, free: 8.07 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00255/0.1618, allocations: 1.446 MB / 341.4 MB, free: 6.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1619, allocations: 12.03 kB / 341.4 MB, free: 6.559 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.1621, allocations: 139.2 kB / 341.5 MB, free: 6.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.1632, allocations: 0.8111 MB / 342.3 MB, free: 5.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.229e-05/0.1633, allocations: 82.59 kB / 342.4 MB, free: 5.488 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.1635, allocations: 111.9 kB / 342.5 MB, free: 5.379 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.1661, allocations: 1.541 MB / 344 MB, free: 3.793 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.1661, allocations: 0 / 344 MB, free: 3.793 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.1662, allocations: 48 kB / 344.1 MB, free: 3.746 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.1663, allocations: 24 kB / 344.1 MB, free: 3.723 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.1684, allocations: 1.328 MB / 345.4 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006734/0.1751, allocations: 4.256 MB / 349.7 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.1765, allocations: 1.315 MB / 351 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007253/0.1772, allocations: 470.4 kB / 351.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.1773, allocations: 12.42 kB / 351.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.1773, allocations: 39 kB / 351.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 3.227e-06/0.1773, allocations: 0 / 351.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003404/0.1807, allocations: 1.974 MB / 353.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.1808, allocations: 59.83 kB / 353.6 MB, free: 9.883 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.1818, allocations: 0.8127 MB / 354.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.1819, allocations: 37.7 kB / 354.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/0.1822, allocations: 0.5414 MB / 354.9 MB, free: 8.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.1824, allocations: 173.5 kB / 355.1 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.1825, allocations: 57.69 kB / 355.2 MB, free: 8.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.1826, allocations: 382.7 kB / 355.5 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/0.1831, allocations: 312.9 kB / 355.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/0.1836, allocations: 407.3 kB / 356.2 MB, free: 7.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000961/0.1846, allocations: 0.7106 MB / 357 MB, free: 6.371 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1846, allocations: 4 kB / 357 MB, free: 6.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001373/0.186, allocations: 0.9282 MB / 357.9 MB, free: 5.426 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.186, allocations: 4 kB / 357.9 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.186, allocations: 7.984 kB / 357.9 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002967/0.1863, allocations: 104.8 kB / 358 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005212/0.1869, allocations: 135.8 kB / 358.1 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.1891, allocations: 2.178 MB / 360.3 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.1895, allocations: 39.95 kB / 360.4 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.1895, allocations: 16.06 kB / 360.4 MB, free: 2.809 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008539/0.1904, allocations: 465.3 kB / 360.8 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.1905, allocations: 71.16 kB / 360.9 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.1907, allocations: 91.06 kB / 361 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1907, allocations: 8 kB / 361 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.1908, allocations: 0 / 361 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1908, allocations: 0 / 361 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/0.1938, allocations: 2.056 MB / 363 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1938, allocations: 7.938 kB / 363.1 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.1942, allocations: 92.03 kB / 363.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002344/0.1944, allocations: 100.8 kB / 363.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.1945, allocations: 15.98 kB / 363.3 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.1964, allocations: 2.131 MB / 365.4 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1965, allocations: 0 / 365.4 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.1982, allocations: 1.223 MB / 366.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.1985, allocations: 164.3 kB / 366.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.777e-05/0.1986, allocations: 15.98 kB / 366.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.199, allocations: 51.95 kB / 366.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.1991, allocations: 44.38 kB / 366.9 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.1991, allocations: 19.98 kB / 366.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007228/0.1999, allocations: 0.5849 MB / 367.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1999, allocations: 0 / 367.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007834/0.2007, allocations: 208 kB / 367.7 MB, free: 11.2 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001743/0.2009, allocations: 115.2 kB / 367.8 MB, free: 11.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.2022, allocations: 0.8246 MB / 368.6 MB, free: 10.24 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2022, allocations: 4.062 kB / 368.6 MB, free: 10.24 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007363/0.203, allocations: 0.4891 MB / 369.1 MB, free: 9.734 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009962/0.204, allocations: 179.2 kB / 369.3 MB, free: 9.559 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.2078, allocations: 2.739 MB / 372 MB, free: 6.777 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000967/0.2088, allocations: 1.34 MB / 373.4 MB, free: 5.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004842/0.2093, allocations: 181.8 kB / 373.6 MB, free: 5.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.2094, allocations: 55.42 kB / 373.6 MB, free: 5.176 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2094, allocations: 0 / 373.6 MB, free: 5.176 MB / 318.1 MB Notification: Performance of Templates: time 0.2231/0.4325, allocations: 9.806 MB / 383.4 MB, free: 50.23 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1)