Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001186/0.001186, allocations: 86.72 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.001382/0.001382, 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.773/1.773, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.0005133/0.0005135, allocations: 12 kB / 278.9 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2744, allocations: 47.58 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005419/0.2799, allocations: 5.025 MB / 331.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003901/0.2838, allocations: 1.72 MB / 333.2 MB, free: 12.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005688/0.2844, allocations: 24.22 kB / 333.2 MB, free: 12.01 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006555/0.2851, allocations: 197 kB / 333.4 MB, free: 11.87 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.287, allocations: 0.6928 MB / 334.1 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006265/0.2876, allocations: 235.1 kB / 334.4 MB, free: 11.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.2887, allocations: 0.8113 MB / 335.2 MB, free: 10.67 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002784/0.2915, allocations: 1.496 MB / 336.7 MB, free: 9.273 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007201/0.2923, allocations: 318.7 kB / 337 MB, free: 8.961 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008843/0.2932, allocations: 458.2 kB / 337.4 MB, free: 8.512 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.2933, allocations: 40 kB / 337.5 MB, free: 8.473 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006869/0.294, allocations: 199.7 kB / 337.7 MB, free: 8.277 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.2941, allocations: 147.3 kB / 337.8 MB, free: 8.133 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.2944, allocations: 181.3 kB / 338 MB, free: 7.949 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009727/0.2953, allocations: 0.9425 MB / 338.9 MB, free: 7.004 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2953, allocations: 0 / 338.9 MB, free: 7.004 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2954, allocations: 0 / 338.9 MB, free: 7.004 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.2954, 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.002931/0.2983, allocations: 1.256 MB / 340.2 MB, free: 5.695 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2984, allocations: 8.031 kB / 340.2 MB, free: 5.688 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00644/0.3048, allocations: 0.9745 MB / 341.2 MB, free: 4.711 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000859/0.3057, allocations: 445.7 kB / 341.6 MB, free: 4.234 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/0.3058, allocations: 78.17 kB / 341.7 MB, free: 4.156 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.306, allocations: 104 kB / 341.8 MB, free: 4.055 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.3079, allocations: 1.121 MB / 342.9 MB, free: 2.895 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.3079, allocations: 15.84 kB / 342.9 MB, free: 2.879 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-05/0.308, allocations: 44 kB / 343 MB, free: 2.836 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.3081, allocations: 24 kB / 343 MB, free: 2.812 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.3099, allocations: 1.132 MB / 344.1 MB, free: 1.684 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00561/0.3155, allocations: 3.976 MB / 348.1 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003183/0.3188, allocations: 3.759 MB / 351.8 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000469/0.3192, allocations: 320.6 kB / 352.2 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.3194, allocations: 97.64 kB / 352.3 MB, free: 8.598 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.3194, allocations: 43.12 kB / 352.3 MB, free: 8.547 MB / 286.1 MB Notification: Performance of pre-optimization done (n=71): time 2.545e-06/0.3194, allocations: 0 / 352.3 MB, free: 8.547 MB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.001368/0.3208, allocations: 0.7681 MB / 353.1 MB, free: 7.773 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.3209, allocations: 111.4 kB / 353.2 MB, free: 7.641 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.3212, allocations: 324.2 kB / 353.5 MB, free: 7.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.3213, allocations: 33.7 kB / 353.5 MB, free: 7.281 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.3216, allocations: 445.9 kB / 354 MB, free: 6.836 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.3217, allocations: 248.5 kB / 354.2 MB, free: 6.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.3218, allocations: 24.06 kB / 354.2 MB, free: 6.566 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3219, allocations: 354.7 kB / 354.6 MB, free: 6.211 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.3224, allocations: 249.9 kB / 354.8 MB, free: 5.965 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006043/0.323, allocations: 0.563 MB / 355.4 MB, free: 5.258 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/0.3235, allocations: 335 kB / 355.7 MB, free: 4.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.3235, allocations: 4 kB / 355.7 MB, free: 4.926 MB / 286.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001399/0.3249, allocations: 0.9033 MB / 356.6 MB, free: 4.016 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.325, allocations: 12 kB / 356.6 MB, free: 4.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.325, allocations: 8 kB / 356.6 MB, free: 3.996 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/0.325, allocations: 20 kB / 356.7 MB, free: 3.977 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007444/0.3258, allocations: 235.6 kB / 356.9 MB, free: 3.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-05/0.3258, allocations: 23.92 kB / 356.9 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.3263, allocations: 111 kB / 357 MB, free: 3.613 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.461e-05/0.3264, 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.0003276/0.3267, allocations: 249.4 kB / 357.3 MB, free: 3.316 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.3268, allocations: 43.44 kB / 357.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.328, allocations: 0.6939 MB / 358 MB, free: 2.574 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.328, allocations: 11.98 kB / 358 MB, free: 2.562 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.328, allocations: 0 / 358 MB, free: 2.562 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.3281, allocations: 7.984 kB / 358.1 MB, free: 2.555 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.3304, allocations: 1.602 MB / 359.7 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3304, allocations: 0 / 359.7 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/0.331, allocations: 147.8 kB / 359.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.331, allocations: 4 kB / 359.8 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.3311, allocations: 20 kB / 359.8 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.3311, allocations: 4 kB / 359.8 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3311, allocations: 3.984 kB / 359.8 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.3326, allocations: 1.173 MB / 361 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.3327, allocations: 132.4 kB / 361.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.418e-05/0.3328, allocations: 16 kB / 361.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.3332, allocations: 27.97 kB / 361.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.3333, allocations: 48.59 kB / 361.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.3333, allocations: 20 kB / 361.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.3335, allocations: 215.1 kB / 361.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3335, allocations: 0 / 361.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008557/0.3344, allocations: 239.1 kB / 361.7 MB, free: 14.83 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.0002718/0.3346, allocations: 143.1 kB / 361.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.3358, allocations: 0.695 MB / 362.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3358, allocations: 0 / 362.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004703/0.3363, allocations: 331.8 kB / 362.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005634/0.3369, allocations: 45.05 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.002367/0.3393, allocations: 1.781 MB / 364.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.3397, allocations: 0.9283 MB / 365.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003852/0.3401, allocations: 92.89 kB / 365.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.3403, allocations: 55.42 kB / 365.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3403, allocations: 0 / 365.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of Templates: time 0.01023/0.3505, allocations: 4.667 MB / 370.4 MB, free: 6.023 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1)