Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.00155/0.00155, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002878/0.002879, allocations: 198.1 kB / 16.14 MB, free: 6.715 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.673/1.673, allocations: 205.1 MB / 222 MB, free: 4.754 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.001201/0.001201, allocations: 51.92 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2901, allocations: 46.62 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.006208/0.2964, allocations: 3.751 MB / 328.4 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.299, allocations: 1.066 MB / 329.5 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000322/0.2994, allocations: 14.84 kB / 329.5 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004396/0.2999, allocations: 123.6 kB / 329.6 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.301, allocations: 268.1 kB / 329.9 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.3013, allocations: 115.8 kB / 330 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002275/0.3036, allocations: 1.687 MB / 331.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.305, allocations: 0.9553 MB / 332.6 MB, free: 12.13 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.3061, allocations: 0.5488 MB / 333.2 MB, free: 11.58 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.3073, allocations: 0.7393 MB / 333.9 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.3075, allocations: 104 kB / 334 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.3078, allocations: 104 kB / 334.1 MB, free: 10.63 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003873/0.3082, allocations: 402.7 kB / 334.5 MB, free: 10.24 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008175/0.309, allocations: 0.6725 MB / 335.2 MB, free: 9.562 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.3108, allocations: 1.995 MB / 337.2 MB, free: 7.562 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.3108, allocations: 0 / 337.2 MB, free: 7.562 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3108, allocations: 0 / 337.2 MB, free: 7.562 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.483e-05/0.3108, allocations: 0 / 337.2 MB, free: 7.562 MB / 270.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.003132/0.314, allocations: 1.68 MB / 338.9 MB, free: 5.828 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.314, allocations: 8.031 kB / 338.9 MB, free: 5.82 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.3143, allocations: 143.3 kB / 339 MB, free: 5.68 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.3155, allocations: 0.8228 MB / 339.8 MB, free: 4.816 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-05/0.3155, allocations: 90.56 kB / 339.9 MB, free: 4.727 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.3157, allocations: 115.9 kB / 340 MB, free: 4.613 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.3182, allocations: 1.568 MB / 341.6 MB, free: 3 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.3183, allocations: 4 kB / 341.6 MB, free: 2.996 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.3184, allocations: 44 kB / 341.7 MB, free: 2.953 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.3184, allocations: 28 kB / 341.7 MB, free: 2.926 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.3205, allocations: 1.336 MB / 343 MB, free: 1.582 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006604/0.3271, allocations: 4.314 MB / 347.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.3285, allocations: 1.334 MB / 348.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008675/0.3293, allocations: 0.53 MB / 349.2 MB, free: 11.1 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.858e-05/0.3294, allocations: 4.438 kB / 349.2 MB, free: 11.1 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.3294, allocations: 39 kB / 349.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of pre-optimization done (n=51): time 2.625e-06/0.3294, allocations: 0 / 349.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.001561/0.331, allocations: 0.8806 MB / 350.1 MB, free: 10.16 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.3311, allocations: 59.84 kB / 350.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.3322, allocations: 0.8205 MB / 351 MB, free: 9.262 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.3323, allocations: 37.7 kB / 351 MB, free: 9.219 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/0.3327, allocations: 0.5376 MB / 351.6 MB, free: 8.672 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.3329, allocations: 177.4 kB / 351.8 MB, free: 8.496 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.333, allocations: 106.2 kB / 351.9 MB, free: 8.383 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002342/0.3333, allocations: 390.7 kB / 352.2 MB, free: 7.992 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000476/0.3338, allocations: 308.9 kB / 352.5 MB, free: 7.691 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.3343, allocations: 386.5 kB / 352.9 MB, free: 7.281 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009905/0.3353, allocations: 0.698 MB / 353.6 MB, free: 6.559 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3353, allocations: 0 / 353.6 MB, free: 6.559 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001269/0.3366, allocations: 0.8103 MB / 354.4 MB, free: 5.738 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.3366, allocations: 8.281 kB / 354.4 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3367, allocations: 4 kB / 354.4 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3367, allocations: 8 kB / 354.4 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/0.3373, allocations: 155.8 kB / 354.6 MB, free: 5.566 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.3373, allocations: 4 kB / 354.6 MB, free: 5.562 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.3377, allocations: 67.34 kB / 354.7 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.3377, allocations: 20 kB / 354.7 MB, free: 5.477 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006206/0.3383, allocations: 461.4 kB / 355.1 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.3385, allocations: 79.14 kB / 355.2 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.3386, allocations: 87.08 kB / 355.3 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3387, allocations: 4 kB / 355.3 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.3387, allocations: 0 / 355.3 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.3387, allocations: 11.92 kB / 355.3 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.3416, allocations: 1.95 MB / 357.3 MB, free: 2.805 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3416, allocations: 8 kB / 357.3 MB, free: 2.797 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005027/0.3421, allocations: 119.8 kB / 357.4 MB, free: 2.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.3421, allocations: 4 kB / 357.4 MB, free: 2.676 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.3422, allocations: 8 kB / 357.4 MB, free: 2.668 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.3422, allocations: 7.938 kB / 357.4 MB, free: 2.66 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3422, allocations: 0 / 357.4 MB, free: 2.66 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.3439, allocations: 1.125 MB / 358.5 MB, free: 1.508 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.3441, allocations: 180.2 kB / 358.7 MB, free: 1.312 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.406e-05/0.3442, allocations: 8 kB / 358.7 MB, free: 1.305 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.3446, allocations: 52.03 kB / 358.8 MB, free: 1.254 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.3448, allocations: 40.31 kB / 358.8 MB, free: 1.211 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.3448, allocations: 20 kB / 358.8 MB, free: 1.191 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0008149/0.3456, allocations: 0.5966 MB / 359.4 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3456, allocations: 0 / 359.4 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000814/0.3464, allocations: 278.7 kB / 359.7 MB, free: 336 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001769/0.3466, allocations: 111.2 kB / 359.8 MB, free: 216 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.3477, allocations: 0.6498 MB / 360.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3477, allocations: 0 / 360.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005187/0.3482, allocations: 326.2 kB / 360.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008991/0.3491, allocations: 167.5 kB / 360.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/0.3535, allocations: 2.787 MB / 363.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009897/0.3545, allocations: 1.34 MB / 365.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000504/0.355, allocations: 201.8 kB / 365.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.3552, allocations: 55.42 kB / 365.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3552, allocations: 0 / 365.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of Templates: time 0.02118/0.3764, allocations: 9.534 MB / 374.9 MB, free: 1.07 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1)