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.001471/0.001471, 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.001682/0.001682, allocations: 194.9 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.416/1.416, allocations: 205.1 MB / 222 MB, free: 4.785 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.001244/0.001244, allocations: 51.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2348, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006389/0.2412, allocations: 5.86 MB / 330.5 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003398/0.2446, allocations: 1.885 MB / 332.4 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.245, allocations: 19.19 kB / 332.4 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003141/0.2481, allocations: 1.539 MB / 334 MB, free: 10.61 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.25, allocations: 0.7733 MB / 334.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.2506, allocations: 249.8 kB / 335 MB, free: 9.793 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007616/0.2513, allocations: 0.856 MB / 335.9 MB, free: 8.934 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.2525, allocations: 0.7961 MB / 336.6 MB, free: 8.113 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003893/0.2529, allocations: 374.5 kB / 337 MB, free: 7.746 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005409/0.2535, allocations: 0.5136 MB / 337.5 MB, free: 7.23 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.509e-05/0.2536, allocations: 64 kB / 337.6 MB, free: 7.168 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004561/0.2541, allocations: 223.8 kB / 337.8 MB, free: 6.949 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.2542, allocations: 195.2 kB / 338 MB, free: 6.758 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003693/0.2546, allocations: 445.7 kB / 338.4 MB, free: 6.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.2557, allocations: 1.195 MB / 339.6 MB, free: 5.121 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2557, allocations: 0 / 339.6 MB, free: 5.121 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2558, allocations: 0 / 339.6 MB, free: 5.121 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.2558, allocations: 0 / 339.6 MB, free: 5.121 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.003205/0.259, allocations: 1.432 MB / 341.1 MB, free: 3.637 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.259, allocations: 8.031 kB / 341.1 MB, free: 3.629 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006974/0.266, allocations: 0.9715 MB / 342 MB, free: 2.656 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000596/0.2666, allocations: 447 kB / 342.5 MB, free: 2.18 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.2667, allocations: 78.55 kB / 342.6 MB, free: 2.102 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.2668, allocations: 108.4 kB / 342.7 MB, free: 1.996 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.2687, allocations: 1.129 MB / 343.8 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.2687, allocations: 0 / 343.8 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/0.2688, allocations: 48 kB / 343.8 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.2688, allocations: 24 kB / 343.9 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.2707, allocations: 1.132 MB / 345 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005165/0.2759, allocations: 3.98 MB / 349 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/0.2791, allocations: 3.748 MB / 352.7 MB, free: 6.984 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/0.2797, allocations: 324.6 kB / 353 MB, free: 6.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.2798, allocations: 93.67 kB / 353.1 MB, free: 6.551 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.2798, allocations: 50.98 kB / 353.2 MB, free: 6.492 MB / 286.1 MB Notification: Performance of pre-optimization done (n=71): time 2.665e-06/0.2798, allocations: 0 / 353.2 MB, free: 6.492 MB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.001461/0.2813, allocations: 0.7563 MB / 353.9 MB, free: 5.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.2814, allocations: 111.4 kB / 354 MB, free: 5.598 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.2818, allocations: 320.3 kB / 354.4 MB, free: 5.273 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.2818, allocations: 33.7 kB / 354.4 MB, free: 5.234 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.2821, allocations: 449.9 kB / 354.8 MB, free: 4.785 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.2823, allocations: 248.5 kB / 355.1 MB, free: 4.539 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.2825, allocations: 174.5 kB / 355.2 MB, free: 4.363 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2827, allocations: 354.8 kB / 355.6 MB, free: 4.008 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.2832, allocations: 253.8 kB / 355.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006365/0.2838, allocations: 0.5552 MB / 356.4 MB, free: 3.059 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.285, allocations: 0.8715 MB / 357.3 MB, free: 2.043 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.285, allocations: 4 kB / 357.3 MB, free: 2.039 MB / 286.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001459/0.2864, allocations: 0.9033 MB / 358.2 MB, free: 1.129 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.2865, allocations: 16 kB / 358.2 MB, free: 1.113 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.2865, allocations: 12 kB / 358.2 MB, free: 1.102 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.2865, allocations: 16 kB / 358.2 MB, free: 1.086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007907/0.2873, allocations: 231.6 kB / 358.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.123e-05/0.2874, allocations: 27.86 kB / 358.5 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.2878, allocations: 103 kB / 358.6 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.2879, allocations: 48 kB / 358.6 MB, free: 0.6836 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.0002923/0.2882, allocations: 241.5 kB / 358.8 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.2883, allocations: 47.38 kB / 358.9 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.2895, allocations: 0.6862 MB / 359.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.2896, allocations: 8 kB / 359.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.2896, allocations: 0 / 359.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.2896, allocations: 3.984 kB / 359.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.292, allocations: 1.586 MB / 361.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.292, allocations: 3.938 kB / 361.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/0.2926, allocations: 147.8 kB / 361.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.2926, allocations: 4 kB / 361.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/0.2927, allocations: 20 kB / 361.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.2927, allocations: 4 kB / 361.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2927, allocations: 0 / 361.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.2944, allocations: 1.162 MB / 362.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.2945, allocations: 140.3 kB / 362.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-05/0.2946, allocations: 12 kB / 362.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.2949, allocations: 32 kB / 362.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.887e-05/0.2951, allocations: 48.56 kB / 362.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.2951, allocations: 20 kB / 362.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002221/0.2953, allocations: 215.1 kB / 363 MB, free: 12.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2953, allocations: 0 / 363 MB, free: 12.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009557/0.2963, allocations: 239.1 kB / 363.2 MB, free: 11.98 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.0003199/0.2966, allocations: 151 kB / 363.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.2979, allocations: 0.6951 MB / 364 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2979, allocations: 0 / 364 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004885/0.2984, allocations: 323.6 kB / 364.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.2991, allocations: 49.03 kB / 364.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.302, allocations: 1.798 MB / 366.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.3026, allocations: 0.9244 MB / 367.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003956/0.303, allocations: 96.88 kB / 367.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.3032, allocations: 55.42 kB / 367.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3032, allocations: 0 / 367.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of Templates: time 0.009867/0.3131, allocations: 4.847 MB / 372.1 MB, free: 2.98 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)