Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 95.03 kB / 16.3 MB, free: 5.992 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.001335/0.001335, allocations: 182.7 kB / 17.19 MB, free: 5.906 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.642/1.642, allocations: 205.4 MB / 223.4 MB, free: 5.555 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.0004543/0.0004545, allocations: 12 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2881, allocations: 47.58 MB / 327.7 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005214/0.2934, allocations: 4.719 MB / 332.4 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003869/0.2973, allocations: 1.767 MB / 334.2 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003397/0.2977, allocations: 18.84 kB / 334.2 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005187/0.2982, allocations: 197 kB / 334.4 MB, free: 12.2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.2998, allocations: 0.727 MB / 335.1 MB, free: 11.64 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.3004, allocations: 228.5 kB / 335.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007802/0.3012, allocations: 0.6138 MB / 336 MB, free: 11.09 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002515/0.3037, allocations: 1.457 MB / 337.4 MB, free: 9.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004197/0.3041, allocations: 314.8 kB / 337.7 MB, free: 9.441 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.3046, allocations: 434.3 kB / 338.1 MB, free: 9.016 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.502e-05/0.3047, allocations: 40 kB / 338.2 MB, free: 8.977 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004332/0.3051, allocations: 175.8 kB / 338.4 MB, free: 8.805 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.3052, allocations: 151.4 kB / 338.5 MB, free: 8.656 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.3054, allocations: 181.3 kB / 338.7 MB, free: 8.473 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008642/0.3062, allocations: 0.9425 MB / 339.6 MB, free: 7.527 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.3062, allocations: 0 / 339.6 MB, free: 7.527 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3063, allocations: 0 / 339.6 MB, free: 7.527 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.3063, allocations: 4 kB / 339.6 MB, free: 7.523 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.0029/0.3092, allocations: 1.245 MB / 340.9 MB, free: 6.227 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3092, allocations: 8.031 kB / 340.9 MB, free: 6.219 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006409/0.3156, allocations: 0.9745 MB / 341.9 MB, free: 5.242 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006609/0.3163, allocations: 453.7 kB / 342.3 MB, free: 4.758 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.507e-05/0.3164, allocations: 82.17 kB / 342.4 MB, free: 4.676 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.3166, allocations: 100 kB / 342.5 MB, free: 4.578 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.3183, allocations: 1.117 MB / 343.6 MB, free: 3.422 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.3183, allocations: 11.84 kB / 343.6 MB, free: 3.41 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.494e-05/0.3184, allocations: 40 kB / 343.6 MB, free: 3.371 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.3185, allocations: 28 kB / 343.7 MB, free: 3.344 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.3202, allocations: 1.14 MB / 344.8 MB, free: 2.207 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005273/0.3255, allocations: 3.965 MB / 348.8 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/0.3287, allocations: 3.759 MB / 352.5 MB, free: 9.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.3288, allocations: 93.66 kB / 352.6 MB, free: 9.461 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.3289, allocations: 43.12 kB / 352.7 MB, free: 9.41 MB / 286.1 MB Notification: Performance of pre-optimization done (n=71): time 2.786e-06/0.3289, allocations: 0 / 352.7 MB, free: 9.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.001426/0.3303, allocations: 0.764 MB / 353.4 MB, free: 8.641 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.3304, allocations: 115.6 kB / 353.5 MB, free: 8.5 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.3307, allocations: 324.2 kB / 353.9 MB, free: 8.18 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.3308, allocations: 37.7 kB / 353.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.3311, allocations: 445.9 kB / 354.3 MB, free: 7.691 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.3313, allocations: 244.5 kB / 354.6 MB, free: 7.449 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.3313, allocations: 16 kB / 354.6 MB, free: 7.434 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3315, allocations: 362.7 kB / 354.9 MB, free: 7.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/0.3319, allocations: 253.9 kB / 355.2 MB, free: 6.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006393/0.3326, allocations: 0.5552 MB / 355.7 MB, free: 6.121 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.3331, allocations: 339 kB / 356.1 MB, free: 5.789 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3331, allocations: 7.938 kB / 356.1 MB, free: 5.781 MB / 286.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001347/0.3345, allocations: 0.8949 MB / 357 MB, free: 4.879 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3345, allocations: 8 kB / 357 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.3345, allocations: 12.75 kB / 357 MB, free: 4.859 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.3346, allocations: 16 kB / 357 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000769/0.3354, allocations: 243.6 kB / 357.3 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.55e-05/0.3354, allocations: 19.94 kB / 357.3 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/0.3359, allocations: 103 kB / 357.4 MB, free: 4.484 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-05/0.336, allocations: 47.94 kB / 357.4 MB, free: 4.438 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.0003283/0.3363, allocations: 257.4 kB / 357.7 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.3364, allocations: 47.44 kB / 357.7 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.3376, allocations: 0.6861 MB / 358.4 MB, free: 3.438 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.3376, allocations: 8 kB / 358.4 MB, free: 3.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3376, allocations: 0 / 358.4 MB, free: 3.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3376, allocations: 11.98 kB / 358.4 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.3398, allocations: 1.602 MB / 360 MB, free: 1.762 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3398, allocations: 0 / 360 MB, free: 1.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/0.3404, allocations: 151.8 kB / 360.2 MB, free: 1.613 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.3404, allocations: 4 kB / 360.2 MB, free: 1.609 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.3404, allocations: 15.98 kB / 360.2 MB, free: 1.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.3405, allocations: 4 kB / 360.2 MB, free: 1.59 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3405, allocations: 0 / 360.2 MB, free: 1.59 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.342, allocations: 1.2 MB / 361.4 MB, free: 368 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.3421, allocations: 136.4 kB / 361.5 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.058e-05/0.3421, allocations: 12 kB / 361.5 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.3425, allocations: 31.92 kB / 361.6 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/0.3426, allocations: 40.59 kB / 361.6 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.3426, allocations: 23.98 kB / 361.6 MB, free: 104 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.3428, allocations: 207.1 kB / 361.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3428, allocations: 0 / 361.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007922/0.3436, allocations: 255.1 kB / 362.1 MB, free: 15.65 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (78): * Single equations (assignments): 78 * 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.0002501/0.3439, allocations: 147.1 kB / 362.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.3449, allocations: 0.6899 MB / 362.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3449, allocations: 0 / 362.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000432/0.3454, allocations: 321 kB / 363.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.3457, allocations: 41.14 kB / 363.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.3479, allocations: 1.723 MB / 365 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.3484, allocations: 0.94 MB / 365.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003604/0.3487, allocations: 92.89 kB / 366 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3489, allocations: 55.42 kB / 366.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3489, allocations: 0 / 366.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of Templates: time 0.00945/0.3583, allocations: 4.651 MB / 370.7 MB, free: 6.922 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) Environment - environmentSimulation: