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.001218/0.001218, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001354/0.001354, allocations: 194.3 kB / 16.14 MB, free: 6.715 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.443/1.443, allocations: 205.1 MB / 222 MB, free: 4.773 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.001286/0.001286, allocations: 47.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2663, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006444/0.2727, allocations: 5.858 MB / 330.5 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004376/0.2772, allocations: 1.896 MB / 332.4 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008036/0.2781, allocations: 19.09 kB / 332.5 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003433/0.2815, allocations: 1.535 MB / 334 MB, free: 10.59 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.2836, allocations: 0.7542 MB / 334.7 MB, free: 10.03 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000658/0.2843, allocations: 260.5 kB / 335 MB, free: 9.801 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009689/0.2853, allocations: 0.856 MB / 335.9 MB, free: 8.941 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.2865, allocations: 0.7882 MB / 336.6 MB, free: 8.129 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004129/0.287, allocations: 378.4 kB / 337 MB, free: 7.758 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000522/0.2875, allocations: 0.5214 MB / 337.5 MB, free: 7.234 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.659e-05/0.2876, allocations: 64 kB / 337.6 MB, free: 7.172 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005625/0.2882, allocations: 223.8 kB / 337.8 MB, free: 6.953 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.2883, allocations: 191.2 kB / 338 MB, free: 6.766 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003826/0.2887, allocations: 445.7 kB / 338.4 MB, free: 6.328 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.2899, allocations: 1.203 MB / 339.6 MB, free: 5.121 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2899, allocations: 0 / 339.6 MB, free: 5.121 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2899, allocations: 0 / 339.6 MB, free: 5.121 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.2899, allocations: 4 kB / 339.6 MB, free: 5.117 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.003456/0.2934, allocations: 1.421 MB / 341.1 MB, free: 3.645 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/0.2934, allocations: 12.03 kB / 341.1 MB, free: 3.633 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006849/0.3003, allocations: 0.9675 MB / 342 MB, free: 2.664 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000788/0.3011, allocations: 439 kB / 342.5 MB, free: 2.195 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.639e-05/0.3012, allocations: 82.55 kB / 342.5 MB, free: 2.113 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.3014, allocations: 108.4 kB / 342.7 MB, free: 2.008 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.3034, allocations: 1.133 MB / 343.8 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.3034, allocations: 4 kB / 343.8 MB, free: 0.832 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-05/0.3035, allocations: 47.98 kB / 343.8 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.3035, allocations: 24 kB / 343.9 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/0.3054, allocations: 1.132 MB / 345 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005482/0.3109, allocations: 3.96 MB / 349 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/0.3143, allocations: 3.756 MB / 352.7 MB, free: 7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/0.3148, allocations: 328.6 kB / 353 MB, free: 6.672 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.3149, allocations: 97.64 kB / 353.1 MB, free: 6.559 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.315, allocations: 47 kB / 353.2 MB, free: 6.504 MB / 286.1 MB Notification: Performance of pre-optimization done (n=71): time 2.716e-06/0.315, allocations: 0 / 353.2 MB, free: 6.504 MB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.001468/0.3164, allocations: 0.7603 MB / 353.9 MB, free: 5.738 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.3165, allocations: 111.4 kB / 354 MB, free: 5.605 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.3169, allocations: 324.3 kB / 354.4 MB, free: 5.277 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/0.3169, allocations: 37.7 kB / 354.4 MB, free: 5.234 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.3172, allocations: 441.9 kB / 354.8 MB, free: 4.793 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.3173, allocations: 244.5 kB / 355.1 MB, free: 4.551 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.3176, allocations: 170.5 kB / 355.2 MB, free: 4.379 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3177, allocations: 358.8 kB / 355.6 MB, free: 4.02 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.3181, allocations: 245.9 kB / 355.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006192/0.3188, allocations: 0.563 MB / 356.4 MB, free: 3.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.3199, allocations: 0.8754 MB / 357.3 MB, free: 2.051 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.3199, allocations: 4 kB / 357.3 MB, free: 2.047 MB / 286.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001366/0.3213, allocations: 0.8956 MB / 358.2 MB, free: 1.145 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3213, allocations: 15.88 kB / 358.2 MB, free: 1.129 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.3213, allocations: 16.05 kB / 358.2 MB, free: 1.113 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.77e-05/0.3214, allocations: 23.94 kB / 358.2 MB, free: 1.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009222/0.3223, allocations: 239.6 kB / 358.4 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/0.3223, allocations: 19.94 kB / 358.5 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.3229, allocations: 103 kB / 358.6 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-05/0.3229, allocations: 44 kB / 358.6 MB, free: 0.6914 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003464/0.3233, allocations: 249.5 kB / 358.9 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.3234, allocations: 55.36 kB / 358.9 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.3252, allocations: 0.6783 MB / 359.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.3253, allocations: 8 kB / 359.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.3253, allocations: 0 / 359.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.3253, allocations: 3.984 kB / 359.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/0.3291, allocations: 1.59 MB / 361.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.3292, allocations: 7.938 kB / 361.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009085/0.3301, allocations: 143.8 kB / 361.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.3301, allocations: 0 / 361.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/0.3302, allocations: 19.98 kB / 361.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.3302, allocations: 4 kB / 361.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.3302, allocations: 0 / 361.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.3326, allocations: 1.169 MB / 362.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.3328, allocations: 128.3 kB / 362.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.547e-05/0.3329, allocations: 16 kB / 362.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005638/0.3335, allocations: 23.98 kB / 362.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.3336, allocations: 48.66 kB / 362.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.87e-05/0.3337, allocations: 20 kB / 362.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000342/0.3341, allocations: 211.1 kB / 363 MB, free: 12.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3341, allocations: 0 / 363 MB, free: 12.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001406/0.3355, allocations: 243.1 kB / 363.2 MB, free: 11.99 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 (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.0003447/0.3358, allocations: 151 kB / 363.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.3377, allocations: 0.6949 MB / 364 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3377, allocations: 0 / 364 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.3384, allocations: 315.6 kB / 364.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.3396, allocations: 61.39 kB / 364.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/0.3435, allocations: 1.801 MB / 366.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/0.3442, allocations: 0.9244 MB / 367.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0006655/0.3449, allocations: 88.89 kB / 367.2 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.3452, allocations: 63.42 kB / 367.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3452, allocations: 3.938 kB / 367.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of Templates: time 0.01736/0.3625, allocations: 4.836 MB / 372.1 MB, free: 2.988 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)