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.001544/0.001544, allocations: 108 kB / 15.6 MB, free: 132 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.001825/0.001825, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.463/1.463, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.00128/0.00128, allocations: 59.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2389, allocations: 46.63 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006994/0.246, allocations: 5.877 MB / 331.2 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003735/0.2497, allocations: 1.902 MB / 333.1 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007367/0.2505, allocations: 23.16 kB / 333.1 MB, free: 11.6 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003789/0.2543, allocations: 1.62 MB / 334.7 MB, free: 10.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.2567, allocations: 0.8347 MB / 335.6 MB, free: 9.625 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.2575, allocations: 279.5 kB / 335.8 MB, free: 9.352 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.2588, allocations: 0.8834 MB / 336.7 MB, free: 8.465 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.2604, allocations: 0.8889 MB / 337.6 MB, free: 7.555 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007465/0.2612, allocations: 390.5 kB / 338 MB, free: 7.172 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008893/0.2621, allocations: 0.5292 MB / 338.5 MB, free: 6.641 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.2623, allocations: 84 kB / 338.6 MB, free: 6.559 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008675/0.2632, allocations: 247.8 kB / 338.9 MB, free: 6.316 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.2634, allocations: 207.2 kB / 339.1 MB, free: 6.113 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005538/0.264, allocations: 457.7 kB / 339.5 MB, free: 5.664 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.2654, allocations: 1.219 MB / 340.7 MB, free: 4.441 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2654, allocations: 0 / 340.7 MB, free: 4.441 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.2654, allocations: 0 / 340.7 MB, free: 4.441 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.044e-05/0.2654, allocations: 7.938 kB / 340.7 MB, free: 4.434 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.003742/0.2692, allocations: 1.424 MB / 342.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2692, allocations: 12.03 kB / 342.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007416/0.2766, allocations: 0.9559 MB / 343.1 MB, free: 1.988 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007302/0.2774, allocations: 458.9 kB / 343.6 MB, free: 1.5 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.14e-05/0.2775, allocations: 82.55 kB / 343.6 MB, free: 1.418 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.2777, allocations: 108.4 kB / 343.8 MB, free: 1.312 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.2798, allocations: 1.125 MB / 344.9 MB, free: 152 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.2798, allocations: 7.938 kB / 344.9 MB, free: 144 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.935e-05/0.2799, allocations: 44 kB / 344.9 MB, free: 100 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.28, allocations: 24 kB / 345 MB, free: 76 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.282, allocations: 1.136 MB / 346.1 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005546/0.2875, allocations: 3.96 MB / 350 MB, free: 10.74 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/0.291, allocations: 3.752 MB / 353.8 MB, free: 6.305 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/0.2915, allocations: 324.5 kB / 354.1 MB, free: 5.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.2916, allocations: 93.66 kB / 354.2 MB, free: 5.871 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.2917, allocations: 51.06 kB / 354.3 MB, free: 5.812 MB / 286.1 MB Notification: Performance of pre-optimization done (n=71): time 2.495e-06/0.2917, allocations: 0 / 354.3 MB, free: 5.812 MB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.001521/0.2932, allocations: 0.7561 MB / 355 MB, free: 5.051 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/0.2933, allocations: 111.4 kB / 355.1 MB, free: 4.918 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/0.2937, allocations: 328.5 kB / 355.4 MB, free: 4.586 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.2937, allocations: 45.7 kB / 355.5 MB, free: 4.535 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.294, allocations: 437.9 kB / 355.9 MB, free: 4.098 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.2942, allocations: 248.5 kB / 356.2 MB, free: 3.852 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.2945, allocations: 170.5 kB / 356.3 MB, free: 3.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2946, allocations: 354.8 kB / 356.7 MB, free: 3.324 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/0.2951, allocations: 245.9 kB / 356.9 MB, free: 3.082 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/0.2957, allocations: 0.563 MB / 357.5 MB, free: 2.375 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.297, allocations: 0.8754 MB / 358.4 MB, free: 1.355 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.297, allocations: 4 kB / 358.4 MB, free: 1.352 MB / 286.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001509/0.2985, allocations: 0.8951 MB / 359.2 MB, free: 460 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.2985, allocations: 11.94 kB / 359.3 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.2986, allocations: 12 kB / 359.3 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.2986, allocations: 16 kB / 359.3 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/0.2994, allocations: 236.1 kB / 359.5 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.751e-05/0.2994, allocations: 27.91 kB / 359.5 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.2999, allocations: 106.9 kB / 359.7 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.568e-05/0.3, allocations: 47.98 kB / 359.7 MB, free: 0 / 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.0003164/0.3003, allocations: 245.6 kB / 359.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.3005, allocations: 51.38 kB / 360 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.3017, allocations: 0.6783 MB / 360.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.3017, allocations: 15.83 kB / 360.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3018, allocations: 0 / 360.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.3018, allocations: 3.984 kB / 360.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.3042, allocations: 1.582 MB / 362.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3042, allocations: 7.938 kB / 362.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/0.3048, allocations: 147.8 kB / 362.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.3048, allocations: 8 kB / 362.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.3048, allocations: 15.98 kB / 362.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.3049, allocations: 4 kB / 362.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3049, allocations: 0 / 362.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.3064, allocations: 1.162 MB / 363.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.3066, allocations: 136.2 kB / 363.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.3067, allocations: 12 kB / 363.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.307, allocations: 27.98 kB / 363.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3072, allocations: 44.59 kB / 363.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.3072, allocations: 27.92 kB / 363.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.3074, allocations: 207.1 kB / 364.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3074, allocations: 64 / 364.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008351/0.3083, allocations: 251.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.000247/0.3085, allocations: 151.2 kB / 364.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.31, allocations: 0.7218 MB / 365.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.31, allocations: 0 / 365.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004806/0.3105, allocations: 327.5 kB / 365.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006178/0.3111, allocations: 49.02 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.002341/0.3135, allocations: 1.423 MB / 367 MB, free: 8.586 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.314, allocations: 0.9241 MB / 367.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003972/0.3144, allocations: 96.88 kB / 368 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.3146, allocations: 55.42 kB / 368 MB, free: 7.484 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3146, allocations: 0 / 368 MB, free: 7.484 MB / 302.1 MB Notification: Performance of Templates: time 0.01062/0.3252, allocations: 5.116 MB / 373.1 MB, free: 2.363 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)