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.001128/0.001128, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.345/1.345, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.001185/0.001185, allocations: 63.84 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2162, allocations: 46.62 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.007069/0.2233, allocations: 5.873 MB / 331.2 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004176/0.2275, allocations: 1.897 MB / 333.1 MB, free: 11.63 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006737/0.2283, allocations: 18.53 kB / 333.1 MB, free: 11.63 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004377/0.2327, allocations: 1.637 MB / 334.7 MB, free: 10.39 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.2354, allocations: 0.8286 MB / 335.6 MB, free: 9.637 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009402/0.2364, allocations: 287.5 kB / 335.8 MB, free: 9.355 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.2379, allocations: 0.8834 MB / 336.7 MB, free: 8.469 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.2393, allocations: 0.885 MB / 337.6 MB, free: 7.562 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005341/0.2398, allocations: 386.6 kB / 338 MB, free: 7.184 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005907/0.2405, allocations: 0.5214 MB / 338.5 MB, free: 6.66 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.2406, allocations: 84 kB / 338.6 MB, free: 6.578 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007297/0.2413, allocations: 251.8 kB / 338.8 MB, free: 6.332 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.2415, allocations: 207.2 kB / 339 MB, free: 6.129 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004195/0.2419, allocations: 461.7 kB / 339.5 MB, free: 5.676 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.2433, allocations: 1.215 MB / 340.7 MB, free: 4.457 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2433, allocations: 4 kB / 340.7 MB, free: 4.453 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2433, allocations: 3.938 kB / 340.7 MB, free: 4.449 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.2433, allocations: 0 / 340.7 MB, free: 4.449 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.003235/0.2465, allocations: 1.424 MB / 342.1 MB, free: 2.973 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2466, allocations: 12.02 kB / 342.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007617/0.2542, allocations: 0.9637 MB / 343.1 MB, free: 1.996 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000655/0.2549, allocations: 454.9 kB / 343.6 MB, free: 1.512 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.713e-05/0.255, allocations: 82.55 kB / 343.6 MB, free: 1.43 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.2551, allocations: 108.4 kB / 343.7 MB, free: 1.324 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.257, allocations: 1.133 MB / 344.9 MB, free: 156 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.2571, allocations: 3.938 kB / 344.9 MB, free: 152 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/0.2572, allocations: 44 kB / 344.9 MB, free: 108 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.2572, allocations: 28 kB / 345 MB, free: 80 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.2591, allocations: 1.132 MB / 346.1 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005226/0.2644, allocations: 3.956 MB / 350 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/0.2677, allocations: 3.76 MB / 353.8 MB, free: 6.309 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004678/0.2682, allocations: 316.6 kB / 354.1 MB, free: 5.992 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.39e-05/0.2683, allocations: 97.66 kB / 354.2 MB, free: 5.879 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.2684, allocations: 43.06 kB / 354.3 MB, free: 5.828 MB / 286.1 MB Notification: Performance of pre-optimization done (n=71): time 2.645e-06/0.2684, allocations: 0 / 354.3 MB, free: 5.828 MB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.001394/0.2698, allocations: 0.7563 MB / 355 MB, free: 5.066 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.2699, allocations: 119.4 kB / 355.1 MB, free: 4.926 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.2702, allocations: 328.2 kB / 355.4 MB, free: 4.594 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.2703, allocations: 37.7 kB / 355.5 MB, free: 4.551 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.2705, allocations: 445.9 kB / 355.9 MB, free: 4.105 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.2707, allocations: 236.5 kB / 356.1 MB, free: 3.871 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.2709, allocations: 178.5 kB / 356.3 MB, free: 3.691 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2711, allocations: 346.8 kB / 356.7 MB, free: 3.344 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004508/0.2716, allocations: 253.9 kB / 356.9 MB, free: 3.094 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006431/0.2722, allocations: 0.563 MB / 357.5 MB, free: 2.387 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.2734, allocations: 0.8715 MB / 358.3 MB, free: 1.371 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.2734, allocations: 7.938 kB / 358.4 MB, free: 1.363 MB / 286.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001408/0.2748, allocations: 0.8987 MB / 359.2 MB, free: 468 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.2748, allocations: 15.94 kB / 359.3 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.2748, allocations: 8.812 kB / 359.3 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.2749, allocations: 16 kB / 359.3 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008045/0.2757, allocations: 239.6 kB / 359.5 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/0.2757, allocations: 19.92 kB / 359.5 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.2762, allocations: 110.9 kB / 359.7 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-05/0.2763, allocations: 47.94 kB / 359.7 MB, free: 8 kB / 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.0003151/0.2766, allocations: 237.5 kB / 359.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.2767, allocations: 51.38 kB / 360 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.278, allocations: 0.6861 MB / 360.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.278, allocations: 8 kB / 360.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.278, allocations: 3.984 kB / 360.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.278, allocations: 7.984 kB / 360.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.2804, allocations: 1.582 MB / 362.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.2804, allocations: 7.938 kB / 362.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.281, allocations: 147.8 kB / 362.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.281, allocations: 4 kB / 362.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.2811, allocations: 12 kB / 362.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2811, allocations: 7.938 kB / 362.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2811, allocations: 3.984 kB / 362.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.2826, allocations: 1.166 MB / 363.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2828, allocations: 136.3 kB / 363.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.811e-05/0.2828, allocations: 16 kB / 363.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.2832, allocations: 19.98 kB / 363.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.2834, allocations: 48.66 kB / 363.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.2834, allocations: 24 kB / 363.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.2836, allocations: 207.1 kB / 364.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2836, allocations: 4 kB / 364.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008336/0.2845, allocations: 247.1 kB / 364.3 MB, free: 11.29 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.0002434/0.2847, allocations: 151.2 kB / 364.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.2862, allocations: 0.7168 MB / 365.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2862, allocations: 5.688 kB / 365.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004664/0.2867, allocations: 323.6 kB / 365.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006059/0.2873, allocations: 57.16 kB / 365.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.2896, allocations: 1.418 MB / 367 MB, free: 8.594 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.2901, allocations: 0.9203 MB / 367.9 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000384/0.2904, allocations: 88.89 kB / 368 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.2906, allocations: 59.42 kB / 368 MB, free: 7.5 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2906, allocations: 4 kB / 368 MB, free: 7.496 MB / 302.1 MB Notification: Performance of Templates: time 0.01015/0.3008, allocations: 5.124 MB / 373.2 MB, free: 2.367 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)