Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.01332/0.01332, allocations: 106.1 kB / 15.73 MB, free: 6.051 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.002934/0.002934, allocations: 196.6 kB / 16.67 MB, free: 5.961 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.741/1.741, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.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.0012/0.0012, allocations: 50.14 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1208, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.006435/0.1273, allocations: 3.723 MB / 376.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.1301, allocations: 1.009 MB / 377.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003235/0.1305, allocations: 15.94 kB / 377.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004495/0.1309, allocations: 150.8 kB / 378.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.132, allocations: 290.5 kB / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.1323, allocations: 135.8 kB / 378.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001563/0.1339, allocations: 1.408 MB / 379.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.1353, allocations: 1.122 MB / 381 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008243/0.1361, allocations: 0.6269 MB / 381.6 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009925/0.1371, allocations: 0.7511 MB / 382.4 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002006/0.1373, allocations: 156 kB / 382.5 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.1377, allocations: 156 kB / 382.7 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004352/0.1381, allocations: 450.8 kB / 383.1 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008044/0.1389, allocations: 0.7272 MB / 383.9 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.1409, allocations: 2.025 MB / 385.9 MB, free: 4.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.225e-05/0.1409, allocations: 11.92 kB / 385.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.058e-06/0.1409, allocations: 0 / 385.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.448e-05/0.141, allocations: 4 kB / 385.9 MB, free: 4.5 MB / 318.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.003249/0.1442, allocations: 1.645 MB / 387.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.1443, allocations: 8.031 kB / 387.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/0.1446, allocations: 147.2 kB / 387.7 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.1459, allocations: 0.8189 MB / 388.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.479e-05/0.146, allocations: 86.34 kB / 388.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.1462, allocations: 112 kB / 388.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/0.1487, allocations: 1.544 MB / 390.2 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.1488, allocations: 0 / 390.2 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.1489, allocations: 52.06 kB / 390.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.1489, allocations: 27.94 kB / 390.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.1511, allocations: 1.308 MB / 391.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006475/0.1576, allocations: 4.158 MB / 395.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.159, allocations: 1.315 MB / 397.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007037/0.1597, allocations: 450.5 kB / 397.5 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.1597, allocations: 16.42 kB / 397.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.1598, allocations: 35 kB / 397.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 3.145e-06/0.1598, allocations: 0 / 397.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.003818/0.1636, allocations: 1.938 MB / 399.5 MB, free: 6.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.1637, allocations: 59.83 kB / 399.6 MB, free: 6.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.1648, allocations: 0.8243 MB / 400.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.1649, allocations: 37.7 kB / 400.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/0.1653, allocations: 0.5337 MB / 401 MB, free: 4.836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.1655, allocations: 177.4 kB / 401.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.1656, allocations: 110.1 kB / 401.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.1659, allocations: 382.8 kB / 401.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.1664, allocations: 304.8 kB / 401.9 MB, free: 3.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/0.167, allocations: 407.3 kB / 402.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.1681, allocations: 0.695 MB / 403 MB, free: 2.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.1681, allocations: 4 kB / 403 MB, free: 2.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001511/0.1696, allocations: 0.9126 MB / 403.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.1696, allocations: 8 kB / 404 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1697, allocations: 0 / 404 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003674/0.17, allocations: 112.7 kB / 404.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007254/0.1708, allocations: 120 kB / 404.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/0.174, allocations: 2.38 MB / 406.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005413/0.1745, allocations: 27.92 kB / 406.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.1746, allocations: 20 kB / 406.6 MB, free: 14.96 MB / 350.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.0009018/0.1755, allocations: 461.5 kB / 407.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.1757, allocations: 79.06 kB / 407.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.1759, allocations: 91.08 kB / 407.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.176, allocations: 4 kB / 407.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.176, allocations: 4 kB / 407.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.176, allocations: 7.922 kB / 407.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003835/0.1798, allocations: 2.013 MB / 409.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.1799, allocations: 0 / 409.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.1802, allocations: 91.88 kB / 409.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002781/0.1805, allocations: 104.8 kB / 409.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.1806, allocations: 19.98 kB / 409.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002648/0.1833, allocations: 2.314 MB / 411.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1833, allocations: 0 / 411.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.1853, allocations: 1.212 MB / 413 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/0.1857, allocations: 160.3 kB / 413.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.1859, allocations: 15.94 kB / 413.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/0.1864, allocations: 47.95 kB / 413.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.1865, allocations: 48.53 kB / 413.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.1866, allocations: 20.06 kB / 413.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001122/0.1877, allocations: 0.5888 MB / 413.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.1877, allocations: 3.938 kB / 413.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001015/0.1888, allocations: 208 kB / 414.1 MB, free: 7.223 MB / 350.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.0002622/0.189, allocations: 115.1 kB / 414.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.191, allocations: 0.8203 MB / 415 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.191, allocations: 0 / 415 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008748/0.1919, allocations: 0.4938 MB / 415.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.1929, allocations: 178.7 kB / 415.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/0.1981, allocations: 2.191 MB / 417.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/0.1998, allocations: 1.34 MB / 419.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006163/0.2004, allocations: 177.8 kB / 419.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.2006, allocations: 51.42 kB / 419.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of SimCode: time 1.413e-06/0.2006, allocations: 0 / 419.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of Templates: time 0.02545/0.2261, allocations: 10.57 MB / 430 MB, free: 7.16 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1)