Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001089/0.001089, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001414/0.001414, allocations: 172.7 kB / 15.95 MB, free: 208 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.503/1.503, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.0004927/0.0004929, allocations: 8 kB / 278.9 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3015, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005715/0.3073, allocations: 5.025 MB / 331.5 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003753/0.3111, allocations: 1.721 MB / 333.2 MB, free: 12.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004675/0.3116, allocations: 18.31 kB / 333.2 MB, free: 12.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005898/0.3122, allocations: 205.4 kB / 333.4 MB, free: 11.87 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.3139, allocations: 0.6879 MB / 334.1 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.3145, allocations: 231.5 kB / 334.4 MB, free: 11.17 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.3156, allocations: 0.8188 MB / 335.2 MB, free: 10.67 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002903/0.3185, allocations: 1.488 MB / 336.7 MB, free: 9.281 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005828/0.3191, allocations: 318.7 kB / 337 MB, free: 8.969 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005925/0.3197, allocations: 462.2 kB / 337.4 MB, free: 8.516 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.671e-05/0.3198, allocations: 40 kB / 337.5 MB, free: 8.477 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006961/0.3205, allocations: 191.8 kB / 337.7 MB, free: 8.289 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.3207, allocations: 155.3 kB / 337.8 MB, free: 8.137 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.3209, allocations: 173.3 kB / 338 MB, free: 7.961 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009577/0.3219, allocations: 0.9503 MB / 338.9 MB, free: 7.008 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.3219, allocations: 4 kB / 338.9 MB, free: 7.004 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3219, allocations: 0 / 338.9 MB, free: 7.004 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.3219, allocations: 0 / 338.9 MB, free: 7.004 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.00288/0.3248, allocations: 1.241 MB / 340.2 MB, free: 5.711 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3249, allocations: 12.03 kB / 340.2 MB, free: 5.699 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006549/0.3314, allocations: 0.9745 MB / 341.2 MB, free: 4.723 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008174/0.3323, allocations: 449.7 kB / 341.6 MB, free: 4.242 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.297e-05/0.3324, allocations: 78.17 kB / 341.7 MB, free: 4.164 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.3325, allocations: 111.9 kB / 341.8 MB, free: 4.055 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.3345, allocations: 1.117 MB / 342.9 MB, free: 2.898 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.3345, allocations: 7.906 kB / 342.9 MB, free: 2.891 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.879e-05/0.3346, allocations: 44 kB / 342.9 MB, free: 2.848 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.3347, allocations: 28 kB / 343 MB, free: 2.82 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.3365, allocations: 1.136 MB / 344.1 MB, free: 1.688 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005393/0.3419, allocations: 3.965 MB / 348.1 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003367/0.3453, allocations: 3.759 MB / 351.8 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000487/0.3458, allocations: 324.6 kB / 352.2 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.3459, allocations: 97.66 kB / 352.2 MB, free: 8.609 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.346, allocations: 47.11 kB / 352.3 MB, free: 8.555 MB / 286.1 MB Notification: Performance of pre-optimization done (n=71): time 2.755e-06/0.346, allocations: 0 / 352.3 MB, free: 8.555 MB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.001371/0.3473, allocations: 0.7642 MB / 353.1 MB, free: 7.785 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.3474, allocations: 111.4 kB / 353.2 MB, free: 7.652 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.3478, allocations: 320.2 kB / 353.5 MB, free: 7.336 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.3478, allocations: 41.69 kB / 353.5 MB, free: 7.289 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.3481, allocations: 445.9 kB / 354 MB, free: 6.844 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.3483, allocations: 244.5 kB / 354.2 MB, free: 6.602 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.3483, allocations: 24 kB / 354.2 MB, free: 6.578 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3485, allocations: 362.7 kB / 354.6 MB, free: 6.215 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/0.3489, allocations: 253.8 kB / 354.8 MB, free: 5.965 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/0.3495, allocations: 0.563 MB / 355.4 MB, free: 5.258 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005336/0.3501, allocations: 335 kB / 355.7 MB, free: 4.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3501, allocations: 4 kB / 355.7 MB, free: 4.926 MB / 286.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001366/0.3515, allocations: 0.9032 MB / 356.6 MB, free: 4.016 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.3515, allocations: 8 kB / 356.6 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.3515, allocations: 12 kB / 356.6 MB, free: 3.996 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.3516, allocations: 16 kB / 356.7 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007444/0.3523, allocations: 235.6 kB / 356.9 MB, free: 3.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.413e-05/0.3524, allocations: 23.92 kB / 356.9 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.3528, allocations: 115.1 kB / 357 MB, free: 3.613 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/0.3529, allocations: 44 kB / 357.1 MB, free: 3.57 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.0004145/0.3533, allocations: 253.4 kB / 357.3 MB, free: 3.312 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.3534, allocations: 47.44 kB / 357.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.3547, allocations: 0.6861 MB / 358 MB, free: 2.574 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.3547, allocations: 8 kB / 358 MB, free: 2.566 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3547, allocations: 0 / 358 MB, free: 2.566 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.3547, allocations: 7.984 kB / 358.1 MB, free: 2.559 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.3571, allocations: 1.594 MB / 359.7 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.3571, allocations: 3.984 kB / 359.7 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/0.3577, allocations: 147.8 kB / 359.8 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.3577, allocations: 4 kB / 359.8 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.3577, allocations: 15.98 kB / 359.8 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.3577, allocations: 4 kB / 359.8 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3578, allocations: 4 kB / 359.8 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.3593, allocations: 1.177 MB / 361 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3594, allocations: 136.3 kB / 361.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.448e-05/0.3595, allocations: 16 kB / 361.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.3599, allocations: 23.98 kB / 361.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.3599, allocations: 44.59 kB / 361.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.36, allocations: 28.05 kB / 361.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002029/0.3602, allocations: 207.1 kB / 361.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3602, allocations: 0 / 361.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008346/0.361, allocations: 243.1 kB / 361.7 MB, free: 14.84 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.0002376/0.3613, allocations: 151.1 kB / 361.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.3624, allocations: 0.6908 MB / 362.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3624, allocations: 0 / 362.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.3629, allocations: 328.1 kB / 362.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.3634, allocations: 56.97 kB / 362.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.366, allocations: 1.77 MB / 364.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.3665, allocations: 0.9244 MB / 365.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003865/0.3669, allocations: 92.89 kB / 365.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3671, allocations: 55.42 kB / 365.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of SimCode: time 5.72e-07/0.3671, allocations: 0 / 365.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Templates: time 0.009816/0.3769, allocations: 4.671 MB / 370.4 MB, free: 6.031 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1)