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.001024/0.001027, allocations: 105.8 kB / 17.06 MB, free: 6.023 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.001079/0.001079, allocations: 195 kB / 18 MB, free: 5.105 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.383/1.383, allocations: 205.1 MB / 223.9 MB, free: 12.29 MB / 190.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.001316/0.001316, allocations: 51.94 kB / 327.9 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09964/0.101, allocations: 46.61 MB / 374.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.2017/0.3027, allocations: 5.877 MB / 380.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004505/0.3072, allocations: 1.909 MB / 382.3 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.3084, allocations: 19.41 kB / 382.3 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004386/0.3128, allocations: 1.627 MB / 383.9 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00304/0.3158, allocations: 0.8333 MB / 384.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.317, allocations: 280.3 kB / 385 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001943/0.3189, allocations: 0.8965 MB / 385.9 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.321, allocations: 0.8762 MB / 386.8 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.322, allocations: 397.8 kB / 387.2 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.3234, allocations: 0.5306 MB / 387.7 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000426/0.3238, allocations: 84.28 kB / 387.8 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.3252, allocations: 242.4 kB / 388 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004301/0.3257, allocations: 208.2 kB / 388.2 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.3272, allocations: 461.2 kB / 388.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003517/0.3307, allocations: 1.233 MB / 389.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3307, allocations: 0 / 389.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3307, allocations: 1.156 kB / 389.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.054e-05/0.3308, allocations: 4 kB / 389.9 MB, free: 5.969 MB / 318.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.004422/0.3352, allocations: 1.426 MB / 391.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/0.3353, allocations: 9.719 kB / 391.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007102/0.3424, allocations: 0.9647 MB / 392.3 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.3436, allocations: 446.3 kB / 392.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.303e-05/0.3436, allocations: 82.05 kB / 392.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.3438, allocations: 111.6 kB / 392.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.3459, allocations: 1.132 MB / 394.1 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.346, allocations: 5.375 kB / 394.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.121e-05/0.3461, allocations: 45.41 kB / 394.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.3461, allocations: 26 kB / 394.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/0.3482, allocations: 1.136 MB / 395.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00554/0.3537, allocations: 3.923 MB / 399.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003411/0.3572, allocations: 3.752 MB / 403 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005908/0.3578, allocations: 320.5 kB / 403.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.3579, allocations: 100.6 kB / 403.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.708e-05/0.358, allocations: 52.97 kB / 403.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 3.537e-06/0.358, allocations: 0 / 403.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001796/0.3598, allocations: 0.751 MB / 404.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.3599, allocations: 116 kB / 404.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004966/0.3604, allocations: 327.3 kB / 404.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.3605, allocations: 36.3 kB / 404.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.3608, allocations: 442.3 kB / 405.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.361, allocations: 242.6 kB / 405.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.3613, allocations: 176.5 kB / 405.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3615, allocations: 356.8 kB / 405.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/0.3619, allocations: 249 kB / 406.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007092/0.3627, allocations: 0.564 MB / 406.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.3639, allocations: 0.8722 MB / 407.5 MB, free: 9.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.527e-06/0.3639, allocations: 2.438 kB / 407.5 MB, free: 9.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001584/0.3655, allocations: 0.8959 MB / 408.4 MB, free: 9.238 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.3656, allocations: 24.67 kB / 408.4 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.3656, allocations: 14.91 kB / 408.4 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.386e-05/0.3656, allocations: 16.09 kB / 408.5 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009342/0.3666, allocations: 236.8 kB / 408.7 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.997e-05/0.3666, allocations: 23.86 kB / 408.7 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.3672, allocations: 103.8 kB / 408.8 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-05/0.3673, allocations: 48.45 kB / 408.9 MB, free: 9.074 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003943/0.3677, allocations: 240.5 kB / 409.1 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.3679, allocations: 49.78 kB / 409.1 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.3691, allocations: 0.6791 MB / 409.8 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.3692, allocations: 12.19 kB / 409.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3692, allocations: 1.219 kB / 409.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.3692, allocations: 3.984 kB / 409.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.3717, allocations: 1.571 MB / 411.4 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3718, allocations: 5.281 kB / 411.4 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006012/0.3724, allocations: 151.8 kB / 411.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.3724, allocations: 3.188 kB / 411.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.3724, allocations: 13.69 kB / 411.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.3725, allocations: 3.406 kB / 411.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3725, allocations: 1 kB / 411.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.3741, allocations: 1.172 MB / 412.8 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.3742, allocations: 132.1 kB / 412.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.3743, allocations: 14.91 kB / 412.9 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.3747, allocations: 22.64 kB / 412.9 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.549e-05/0.3748, allocations: 48.59 kB / 413 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.3749, allocations: 22.42 kB / 413 MB, free: 6.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002159/0.3751, allocations: 213.5 kB / 413.2 MB, free: 6.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3751, allocations: 0 / 413.2 MB, free: 6.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00101/0.3761, allocations: 251.9 kB / 413.4 MB, free: 6.164 MB / 334.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 (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.0002736/0.3764, allocations: 143.2 kB / 413.6 MB, free: 6.047 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.3776, allocations: 0.6916 MB / 414.3 MB, free: 5.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3776, allocations: 0 / 414.3 MB, free: 5.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004768/0.3781, allocations: 323.8 kB / 414.6 MB, free: 5.609 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.3787, allocations: 58.7 kB / 414.7 MB, free: 5.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.3811, allocations: 1.394 MB / 416 MB, free: 4.594 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.3816, allocations: 0.9241 MB / 417 MB, free: 3.641 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003494/0.382, allocations: 96.83 kB / 417.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.3821, allocations: 55.42 kB / 417.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3821, allocations: 4 kB / 417.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of Templates: time 0.01113/0.3933, allocations: 5.287 MB / 422.4 MB, free: 14.2 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (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)