Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001073/0.001073, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001386/0.001386, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004802/0.0004803, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3034, allocations: 47.6 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.004654/0.3081, allocations: 3.185 MB / 329.7 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.3104, allocations: 0.966 MB / 330.6 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.3106, allocations: 18.94 kB / 330.6 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.3109, allocations: 109.6 kB / 330.8 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007561/0.3117, allocations: 259.2 kB / 331 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.3119, allocations: 82.81 kB / 331.1 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001707/0.3137, allocations: 1.497 MB / 332.6 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.3147, allocations: 0.7431 MB / 333.3 MB, free: 12.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006863/0.3154, allocations: 470 kB / 333.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000826/0.3163, allocations: 0.6226 MB / 334.4 MB, free: 11.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.3164, allocations: 80 kB / 334.5 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.3166, allocations: 72 kB / 334.6 MB, free: 11.38 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.3169, allocations: 362.8 kB / 334.9 MB, free: 11.03 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.3172, allocations: 269.1 kB / 335.2 MB, free: 10.76 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.3186, allocations: 1.614 MB / 336.8 MB, free: 9.141 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.3187, allocations: 0 / 336.8 MB, free: 9.141 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3187, allocations: 0 / 336.8 MB, free: 9.141 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.3187, allocations: 0 / 336.8 MB, free: 9.141 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002439/0.3211, allocations: 1.461 MB / 338.3 MB, free: 7.625 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.3212, allocations: 11.97 kB / 338.3 MB, free: 7.613 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/0.3214, allocations: 138.3 kB / 338.4 MB, free: 7.477 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.3226, allocations: 0.7831 MB / 339.2 MB, free: 6.652 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.44e-05/0.3227, allocations: 82.22 kB / 339.3 MB, free: 6.57 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.3229, allocations: 112 kB / 339.4 MB, free: 6.461 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.3254, allocations: 1.54 MB / 340.9 MB, free: 4.875 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.3254, allocations: 0 / 340.9 MB, free: 4.875 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.3256, allocations: 44 kB / 341 MB, free: 4.832 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.3256, allocations: 28 kB / 341 MB, free: 4.805 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.3277, allocations: 1.312 MB / 342.3 MB, free: 3.484 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006301/0.334, allocations: 4.256 MB / 346.6 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.3352, allocations: 1.318 MB / 347.9 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/0.3359, allocations: 466.5 kB / 348.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.3359, allocations: 4.438 kB / 348.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.336, allocations: 42.94 kB / 348.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.344e-06/0.336, allocations: 3.938 kB / 348.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.003235/0.3392, allocations: 1.974 MB / 350.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.3393, allocations: 55.84 kB / 350.4 MB, free: 10.98 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009665/0.3403, allocations: 0.8164 MB / 351.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.3403, allocations: 33.7 kB / 351.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.3407, allocations: 0.5414 MB / 351.8 MB, free: 9.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.3408, allocations: 169.5 kB / 352 MB, free: 9.402 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.3408, allocations: 16 kB / 352 MB, free: 9.387 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.341, allocations: 386.7 kB / 352.4 MB, free: 9 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.3415, allocations: 312.9 kB / 352.7 MB, free: 8.695 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.342, allocations: 403.4 kB / 353.1 MB, free: 8.266 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/0.3425, allocations: 369.9 kB / 353.4 MB, free: 7.906 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3425, allocations: 4 kB / 353.4 MB, free: 7.902 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001341/0.3439, allocations: 0.9203 MB / 354.3 MB, free: 6.973 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3439, allocations: 4 kB / 354.3 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3439, allocations: 4.219 kB / 354.3 MB, free: 6.965 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002908/0.3442, allocations: 112.8 kB / 354.5 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.3447, allocations: 123.8 kB / 354.6 MB, free: 6.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.347, allocations: 2.181 MB / 356.8 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.3474, allocations: 31.97 kB / 356.8 MB, free: 4.379 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.3474, allocations: 16 kB / 356.8 MB, free: 4.363 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007385/0.3482, allocations: 461.6 kB / 357.3 MB, free: 3.902 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.3483, allocations: 75.06 kB / 357.3 MB, free: 3.828 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.3485, allocations: 95.02 kB / 357.4 MB, free: 3.734 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3485, allocations: 12.02 kB / 357.4 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.3485, allocations: 0 / 357.4 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.3485, allocations: 7.922 kB / 357.4 MB, free: 3.715 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/0.3517, allocations: 2.033 MB / 359.5 MB, free: 1.605 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3518, allocations: 0 / 359.5 MB, free: 1.605 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.3521, allocations: 95.83 kB / 359.6 MB, free: 1.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002445/0.3524, allocations: 108.7 kB / 359.7 MB, free: 1.402 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.3524, allocations: 11.94 kB / 359.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.3545, allocations: 2.139 MB / 361.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3545, allocations: 0 / 361.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.3563, allocations: 1.211 MB / 363 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000285/0.3566, allocations: 164.2 kB / 363.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.3568, allocations: 15.95 kB / 363.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/0.3572, allocations: 52.02 kB / 363.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.3573, allocations: 44.38 kB / 363.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.3573, allocations: 12 kB / 363.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008895/0.3582, allocations: 0.5809 MB / 363.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3582, allocations: 0 / 363.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008935/0.3591, allocations: 212 kB / 364.1 MB, free: 12.78 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001755/0.3593, allocations: 111.2 kB / 364.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001521/0.3608, allocations: 0.8281 MB / 365 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3609, allocations: 192 / 365 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008048/0.3617, allocations: 493.7 kB / 365.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009468/0.3626, allocations: 178.8 kB / 365.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/0.3671, allocations: 2.628 MB / 368.3 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.3683, allocations: 1.336 MB / 369.7 MB, free: 7.109 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004971/0.3688, allocations: 181.8 kB / 369.8 MB, free: 6.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.369, allocations: 47.44 kB / 369.9 MB, free: 6.883 MB / 302.1 MB Notification: Performance of SimCode: time 1.232e-06/0.369, allocations: 0 / 369.9 MB, free: 6.883 MB / 302.1 MB Notification: Performance of Templates: time 0.0187/0.3877, allocations: 9.592 MB / 379.5 MB, free: 13.28 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1)