Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009509/0.0009508, allocations: 94.72 kB / 16.3 MB, free: 5.996 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.001116/0.001116, allocations: 183.1 kB / 17.2 MB, free: 5.898 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.615/1.615, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004943/0.0004944, allocations: 8 kB / 280.1 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1224, allocations: 47.58 MB / 327.7 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.003702/0.1261, allocations: 3.017 MB / 330.7 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.1281, allocations: 1.038 MB / 331.7 MB, free: 28 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.1284, allocations: 19.88 kB / 331.8 MB, free: 8 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.1287, allocations: 123.4 kB / 331.9 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007101/0.1294, allocations: 231.2 kB / 332.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.1297, allocations: 91.89 kB / 332.2 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009885/0.1307, allocations: 0.8927 MB / 333.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008616/0.1316, allocations: 0.7547 MB / 333.8 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005578/0.1321, allocations: 454.5 kB / 334.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007027/0.1328, allocations: 0.5447 MB / 334.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.133, allocations: 76 kB / 334.9 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1331, allocations: 76 kB / 335 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.1334, allocations: 339 kB / 335.3 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.1337, allocations: 273.1 kB / 335.6 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.135, allocations: 1.64 MB / 337.2 MB, free: 10.51 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.135, allocations: 4 kB / 337.2 MB, free: 10.51 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.135, allocations: 0 / 337.2 MB, free: 10.51 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.146e-05/0.135, allocations: 0 / 337.2 MB, free: 10.51 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002585/0.1376, allocations: 1.485 MB / 338.7 MB, free: 8.969 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1377, allocations: 12.03 kB / 338.7 MB, free: 8.957 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.1379, allocations: 138.4 kB / 338.9 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.1393, allocations: 0.8025 MB / 339.7 MB, free: 7.977 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.111e-05/0.1394, allocations: 86.19 kB / 339.7 MB, free: 7.891 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.1396, allocations: 112 kB / 339.9 MB, free: 7.781 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.1422, allocations: 1.553 MB / 341.4 MB, free: 6.184 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.1422, allocations: 0 / 341.4 MB, free: 6.184 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.1423, allocations: 51.94 kB / 341.5 MB, free: 6.133 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/0.1423, allocations: 24 kB / 341.5 MB, free: 6.109 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.1445, allocations: 1.332 MB / 342.8 MB, free: 4.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007305/0.1518, allocations: 4.357 MB / 347.2 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.1531, allocations: 1.345 MB / 348.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.1532, allocations: 8.438 kB / 348.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.1532, allocations: 35 kB / 348.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 3.917e-06/0.1532, allocations: 7.984 kB / 348.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001474/0.1547, allocations: 0.9003 MB / 349.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.1547, allocations: 59.8 kB / 349.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.1558, allocations: 0.8242 MB / 350.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.1558, allocations: 33.7 kB / 350.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.1562, allocations: 0.5415 MB / 350.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.1564, allocations: 177.4 kB / 351.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.1564, allocations: 16 kB / 351.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.1566, allocations: 382.8 kB / 351.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.1571, allocations: 312.8 kB / 351.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.1576, allocations: 402.5 kB / 352.2 MB, free: 11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.1581, allocations: 378 kB / 352.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.1581, allocations: 0 / 352.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001274/0.1594, allocations: 0.8492 MB / 353.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.1595, allocations: 8.281 kB / 353.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1595, allocations: 4 kB / 353.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1595, allocations: 4 kB / 353.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.1601, allocations: 155.8 kB / 353.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.1601, allocations: 8 kB / 353.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/0.1606, allocations: 71.36 kB / 353.6 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.1606, allocations: 16 kB / 353.7 MB, free: 9.516 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007347/0.1613, allocations: 469.4 kB / 354.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.1615, allocations: 71.16 kB / 354.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.1616, allocations: 91.08 kB / 354.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.1617, allocations: 4 kB / 354.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.1617, allocations: 0 / 354.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.1617, allocations: 3.984 kB / 354.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.1647, allocations: 1.969 MB / 356.3 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1647, allocations: 0 / 356.3 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004998/0.1652, allocations: 120 kB / 356.4 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.1652, allocations: 8 kB / 356.4 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.1653, allocations: 15.98 kB / 356.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.1653, allocations: 7.938 kB / 356.4 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1653, allocations: 0 / 356.4 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.1669, allocations: 1.178 MB / 357.6 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.1672, allocations: 172.1 kB / 357.8 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/0.1673, allocations: 15.98 kB / 357.8 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.1677, allocations: 55.95 kB / 357.8 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.1678, allocations: 40.28 kB / 357.9 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.1678, allocations: 19.98 kB / 357.9 MB, free: 5.148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007393/0.1686, allocations: 0.581 MB / 358.5 MB, free: 4.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1686, allocations: 0 / 358.5 MB, free: 4.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007694/0.1693, allocations: 282.8 kB / 358.7 MB, free: 4.297 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,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 (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001795/0.1695, allocations: 107.2 kB / 358.8 MB, free: 4.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.1707, allocations: 0.6693 MB / 359.5 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1707, allocations: 0.5625 kB / 359.5 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004708/0.1711, allocations: 334.2 kB / 359.8 MB, free: 3.176 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007673/0.1719, allocations: 171 kB / 360 MB, free: 3.008 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004289/0.1762, allocations: 2.727 MB / 362.7 MB, free: 248 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.1773, allocations: 1.364 MB / 364.1 MB, free: 14.85 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000588/0.1779, allocations: 213.7 kB / 364.3 MB, free: 14.64 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.1781, allocations: 51.44 kB / 364.4 MB, free: 14.59 MB / 318.1 MB Notification: Performance of SimCode: time 1.363e-06/0.1781, allocations: 0 / 364.4 MB, free: 14.59 MB / 318.1 MB Notification: Performance of Templates: time 0.01835/0.1964, allocations: 9.123 MB / 373.5 MB, free: 5.465 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) Environment - environmentSimulation: