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.0009696/0.0009695, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006364/0.006364, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.769/1.769, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.000513/0.0005137, allocations: 16 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3384, allocations: 47.59 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004423/0.3429, allocations: 3.356 MB / 330.4 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002967/0.3459, allocations: 1.045 MB / 331.4 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003892/0.3463, allocations: 18.78 kB / 331.4 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.3467, allocations: 122.5 kB / 331.6 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.3478, allocations: 268.2 kB / 331.8 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.3482, allocations: 118.1 kB / 331.9 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002318/0.3505, allocations: 1.689 MB / 333.6 MB, free: 12.51 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.3519, allocations: 0.9488 MB / 334.6 MB, free: 11.76 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.3529, allocations: 490 kB / 335.1 MB, free: 11.28 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.354, allocations: 0.6651 MB / 335.7 MB, free: 10.61 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.3541, allocations: 76 kB / 335.8 MB, free: 10.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.3543, allocations: 76 kB / 335.9 MB, free: 10.46 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003708/0.3547, allocations: 370.7 kB / 336.2 MB, free: 10.1 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007562/0.3555, allocations: 0.6507 MB / 336.9 MB, free: 9.441 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.3573, allocations: 1.928 MB / 338.8 MB, free: 7.508 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.3574, allocations: 0 / 338.8 MB, free: 7.508 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.3574, allocations: 0 / 338.8 MB, free: 7.508 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.3574, allocations: 0 / 338.8 MB, free: 7.508 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.002803/0.3602, allocations: 1.465 MB / 340.3 MB, free: 5.988 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.3603, allocations: 8.031 kB / 340.3 MB, free: 5.98 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.3606, allocations: 147.2 kB / 340.4 MB, free: 5.836 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.3618, allocations: 0.8267 MB / 341.3 MB, free: 4.969 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.3619, allocations: 86.62 kB / 341.3 MB, free: 4.883 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.3621, allocations: 115.9 kB / 341.5 MB, free: 4.77 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.3647, allocations: 1.568 MB / 343 MB, free: 3.156 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.3648, allocations: 0 / 343 MB, free: 3.156 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.3649, allocations: 44 kB / 343.1 MB, free: 3.113 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.3649, allocations: 32 kB / 343.1 MB, free: 3.082 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.3671, allocations: 1.336 MB / 344.4 MB, free: 1.738 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007064/0.3742, allocations: 4.365 MB / 348.8 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.3756, allocations: 1.346 MB / 350.1 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.3767, allocations: 0.5456 MB / 350.7 MB, free: 11.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.3767, allocations: 4.438 kB / 350.7 MB, free: 11.17 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.3768, allocations: 39 kB / 350.7 MB, free: 11.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=51): time 2.395e-06/0.3768, allocations: 0 / 350.7 MB, free: 11.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.001545/0.3783, allocations: 0.8886 MB / 351.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.3784, allocations: 59.78 kB / 351.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.3795, allocations: 0.8243 MB / 352.5 MB, free: 9.324 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.213e-05/0.3795, allocations: 33.7 kB / 352.5 MB, free: 9.285 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.38, allocations: 0.5454 MB / 353.1 MB, free: 8.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.3802, allocations: 181.4 kB / 353.3 MB, free: 8.551 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/0.3803, allocations: 53.7 kB / 353.3 MB, free: 8.492 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002333/0.3805, allocations: 386.7 kB / 353.7 MB, free: 8.105 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.381, allocations: 308.9 kB / 354 MB, free: 7.801 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/0.3815, allocations: 402.5 kB / 354.4 MB, free: 7.379 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009931/0.3825, allocations: 0.6942 MB / 355.1 MB, free: 6.656 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.3825, allocations: 4 kB / 355.1 MB, free: 6.652 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001274/0.3838, allocations: 0.8375 MB / 355.9 MB, free: 5.805 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.3839, allocations: 4 kB / 355.9 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.3839, allocations: 4 kB / 355.9 MB, free: 5.797 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.3839, allocations: 7.938 kB / 355.9 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.3845, allocations: 156.1 kB / 356.1 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.3845, allocations: 7.984 kB / 356.1 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/0.3849, allocations: 71.34 kB / 356.2 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.385, allocations: 16 kB / 356.2 MB, free: 5.543 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.0006773/0.3857, allocations: 461.4 kB / 356.6 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.3858, allocations: 75.14 kB / 356.7 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.386, allocations: 95.08 kB / 356.8 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.386, allocations: 4 kB / 356.8 MB, free: 4.906 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.386, allocations: 0 / 356.8 MB, free: 4.906 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.3861, allocations: 7.922 kB / 356.8 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.389, allocations: 1.966 MB / 358.8 MB, free: 2.855 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.389, allocations: 4 kB / 358.8 MB, free: 2.852 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004737/0.3895, allocations: 119.9 kB / 358.9 MB, free: 2.734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3895, allocations: 0 / 358.9 MB, free: 2.734 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.3896, allocations: 20.14 kB / 358.9 MB, free: 2.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.3896, allocations: 11.94 kB / 358.9 MB, free: 2.703 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.3896, allocations: 7.938 kB / 358.9 MB, free: 2.695 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.3912, allocations: 1.141 MB / 360.1 MB, free: 1.527 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.3914, allocations: 168.2 kB / 360.2 MB, free: 1.344 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.547e-05/0.3915, allocations: 20 kB / 360.3 MB, free: 1.324 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.3919, allocations: 51.95 kB / 360.3 MB, free: 1.273 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.392, allocations: 48.25 kB / 360.4 MB, free: 1.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.392, allocations: 16 kB / 360.4 MB, free: 1.207 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007781/0.3928, allocations: 0.5888 MB / 361 MB, free: 0.625 MB / 286.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3928, allocations: 0 / 361 MB, free: 0.625 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007935/0.3936, allocations: 282.7 kB / 361.2 MB, free: 356 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.0001671/0.3938, allocations: 115.2 kB / 361.4 MB, free: 232 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.3949, allocations: 0.6576 MB / 362 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3949, allocations: 0 / 362 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004522/0.3954, allocations: 335.1 kB / 362.3 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.001008/0.3964, allocations: 174.8 kB / 362.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.4004, allocations: 2.836 MB / 365.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000941/0.4013, allocations: 1.34 MB / 366.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005418/0.4019, allocations: 213.8 kB / 366.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.402, allocations: 51.44 kB / 366.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.402, allocations: 0 / 366.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of Templates: time 0.018/0.42, allocations: 9.393 MB / 376.3 MB, free: 1.148 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)