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.001073/0.001073, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008803/0.008804, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.516/1.516, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.0004493/0.0004493, allocations: 16.38 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2395, allocations: 47.59 MB / 327 MB, free: 1.613 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005203/0.2447, allocations: 5.361 MB / 332.4 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004305/0.2491, allocations: 1.858 MB / 334.3 MB, free: 11.83 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00085/0.25, allocations: 19.66 kB / 334.3 MB, free: 11.83 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.2511, allocations: 287.5 kB / 334.6 MB, free: 11.64 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.2539, allocations: 0.7578 MB / 335.3 MB, free: 11.07 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008053/0.2547, allocations: 255.1 kB / 335.6 MB, free: 10.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.256, allocations: 0.8557 MB / 336.4 MB, free: 10.1 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002976/0.259, allocations: 1.658 MB / 338.1 MB, free: 8.398 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004865/0.2595, allocations: 330.5 kB / 338.4 MB, free: 8.074 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.26, allocations: 481.9 kB / 338.9 MB, free: 7.602 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.912e-05/0.2601, allocations: 43.94 kB / 338.9 MB, free: 7.559 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005265/0.2607, allocations: 199.9 kB / 339.1 MB, free: 7.363 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.2608, allocations: 159.2 kB / 339.3 MB, free: 7.207 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.2611, allocations: 435.4 kB / 339.7 MB, free: 6.773 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.2623, allocations: 1.164 MB / 340.9 MB, free: 5.605 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2623, allocations: 0 / 340.9 MB, free: 5.605 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2623, allocations: 4 kB / 340.9 MB, free: 5.602 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.2623, allocations: 0 / 340.9 MB, free: 5.602 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.003273/0.2656, allocations: 1.245 MB / 342.1 MB, free: 4.305 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.2656, allocations: 12.03 kB / 342.1 MB, free: 4.293 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006974/0.2726, allocations: 0.9676 MB / 343.1 MB, free: 3.324 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007501/0.2734, allocations: 451 kB / 343.5 MB, free: 2.844 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/0.2735, allocations: 82.55 kB / 343.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.2737, allocations: 112.4 kB / 343.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.2757, allocations: 1.133 MB / 344.8 MB, free: 1.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.2758, allocations: 3.984 kB / 344.8 MB, free: 1.477 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.2759, allocations: 48 kB / 344.9 MB, free: 1.43 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.2759, allocations: 24 kB / 344.9 MB, free: 1.406 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.2777, allocations: 1.144 MB / 346.1 MB, free: 272 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005347/0.2831, allocations: 3.964 MB / 350 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003235/0.2864, allocations: 3.756 MB / 353.8 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004885/0.2869, allocations: 332.5 kB / 354.1 MB, free: 7.297 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.287, allocations: 93.66 kB / 354.2 MB, free: 7.188 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.287, allocations: 51.05 kB / 354.2 MB, free: 7.129 MB / 286.1 MB Notification: Performance of pre-optimization done (n=71): time 4.659e-06/0.287, allocations: 0 / 354.2 MB, free: 7.129 MB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.00144/0.2885, allocations: 0.7719 MB / 355 MB, free: 6.352 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.2885, allocations: 123.3 kB / 355.1 MB, free: 6.207 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.2889, allocations: 324.2 kB / 355.5 MB, free: 5.879 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.2889, allocations: 37.7 kB / 355.5 MB, free: 5.836 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.2892, allocations: 445.9 kB / 355.9 MB, free: 5.391 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.2894, allocations: 244.5 kB / 356.2 MB, free: 5.148 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.2895, allocations: 81.67 kB / 356.2 MB, free: 5.062 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2896, allocations: 354.8 kB / 356.6 MB, free: 4.707 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/0.29, allocations: 249.9 kB / 356.8 MB, free: 4.465 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006838/0.2907, allocations: 0.567 MB / 357.4 MB, free: 3.754 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.2919, allocations: 0.8871 MB / 358.3 MB, free: 2.723 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.292, allocations: 4 kB / 358.3 MB, free: 2.719 MB / 286.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001445/0.2934, allocations: 0.9066 MB / 359.2 MB, free: 1.805 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.2935, allocations: 15.94 kB / 359.2 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.2935, allocations: 8 kB / 359.2 MB, free: 1.781 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.2935, allocations: 16.75 kB / 359.2 MB, free: 1.766 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007794/0.2943, allocations: 243.6 kB / 359.5 MB, free: 1.527 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.428e-05/0.2943, allocations: 23.88 kB / 359.5 MB, free: 1.504 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005121/0.2948, allocations: 107 kB / 359.6 MB, free: 1.398 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/0.2949, allocations: 40 kB / 359.6 MB, free: 1.359 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.0003931/0.2953, allocations: 245.5 kB / 359.9 MB, free: 1.109 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.2954, allocations: 55.36 kB / 359.9 MB, free: 1.055 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.2967, allocations: 0.694 MB / 360.6 MB, free: 360 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.2967, allocations: 8 kB / 360.6 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.2967, allocations: 0 / 360.6 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.2967, allocations: 3.984 kB / 360.6 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.299, allocations: 1.602 MB / 362.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.299, allocations: 3.938 kB / 362.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/0.2996, allocations: 147.9 kB / 362.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2996, allocations: 3.938 kB / 362.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.2997, allocations: 23.98 kB / 362.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.2997, allocations: 8 kB / 362.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2997, allocations: 0 / 362.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.3012, allocations: 1.173 MB / 363.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.589e-05/0.3013, allocations: 132.3 kB / 363.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.097e-05/0.3014, allocations: 16 kB / 363.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.3018, allocations: 32.05 kB / 363.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.3019, allocations: 48.53 kB / 363.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.3019, allocations: 23.98 kB / 363.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.3021, allocations: 211.1 kB / 364.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3021, allocations: 0 / 364.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008093/0.303, allocations: 243.1 kB / 364.3 MB, free: 12.6 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.000253/0.3032, allocations: 147.1 kB / 364.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.3044, allocations: 0.6947 MB / 365.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3044, allocations: 4 kB / 365.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004698/0.3049, allocations: 327.5 kB / 365.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005978/0.3055, allocations: 53.02 kB / 365.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.308, allocations: 1.856 MB / 367.4 MB, free: 9.484 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.3085, allocations: 0.9244 MB / 368.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000399/0.3089, allocations: 96.81 kB / 368.4 MB, free: 8.438 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.3091, allocations: 63.42 kB / 368.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3091, allocations: 0 / 368.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of Templates: time 0.01011/0.3192, allocations: 4.788 MB / 373.2 MB, free: 3.582 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)