Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001624/0.001624, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.6/1.6, allocations: 194.3 MB / 208.4 MB, free: 6.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001751/0.001751, allocations: 116.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.828e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08391/0.08395, allocations: 44.5 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3326/0.4166, allocations: 81.06 MB / 430.5 MB, free: 9.488 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.4169, allocations: 82.89 kB / 430.6 MB, free: 9.473 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06019/0.4771, allocations: 28.8 MB / 459.4 MB, free: 6.691 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4772, allocations: 0 / 459.4 MB, free: 6.691 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.518e-05/0.4772, allocations: 20 kB / 459.4 MB, free: 6.672 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002392/0.4796, allocations: 1.061 MB / 460.5 MB, free: 5.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.4797, allocations: 15.97 kB / 460.5 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004672/0.4843, allocations: 0.7069 MB / 461.2 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007086/0.4851, allocations: 434.8 kB / 461.6 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.4851, allocations: 85.98 kB / 461.7 MB, free: 4.598 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.4853, allocations: 110.5 kB / 461.8 MB, free: 4.523 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.4872, allocations: 1.075 MB / 462.9 MB, free: 3.797 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.4872, allocations: 3.938 kB / 462.9 MB, free: 3.793 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.625e-05/0.4873, allocations: 45.88 kB / 462.9 MB, free: 3.781 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.4873, allocations: 24 kB / 463 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.489, allocations: 1.07 MB / 464 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006048/0.495, allocations: 4.062 MB / 468.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003697/0.4988, allocations: 3.734 MB / 471.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004593/0.4993, allocations: 296.7 kB / 472.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.4994, allocations: 101.6 kB / 472.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.4994, allocations: 39.06 kB / 472.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 2.855e-06/0.4994, allocations: 4 kB / 472.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=71): time 0.0009821/0.5004, allocations: 0.5141 MB / 472.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.5005, allocations: 111.4 kB / 472.9 MB, free: 9.941 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.5009, allocations: 286.4 kB / 473.2 MB, free: 9.656 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.5009, allocations: 37.7 kB / 473.2 MB, free: 9.613 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/0.5013, allocations: 438 kB / 473.6 MB, free: 9.176 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.5015, allocations: 244.4 kB / 473.9 MB, free: 8.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.5015, allocations: 20 kB / 473.9 MB, free: 8.914 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.5017, allocations: 358.8 kB / 474.2 MB, free: 8.555 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.5021, allocations: 218 kB / 474.4 MB, free: 8.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000588/0.5027, allocations: 0.5281 MB / 475 MB, free: 7.668 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.5032, allocations: 317.9 kB / 475.3 MB, free: 7.359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.5032, allocations: 7.938 kB / 475.3 MB, free: 7.352 MB / 330.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001298/0.5045, allocations: 0.8471 MB / 476.1 MB, free: 6.496 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.5045, allocations: 11.98 kB / 476.1 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.5046, allocations: 15.94 kB / 476.2 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.643e-05/0.5046, allocations: 16.75 kB / 476.2 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008047/0.5054, allocations: 235.6 kB / 476.4 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-05/0.5054, allocations: 23.92 kB / 476.4 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/0.506, allocations: 106.9 kB / 476.5 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/0.5061, allocations: 47.98 kB / 476.6 MB, free: 6.047 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.5062, allocations: 160.6 kB / 476.7 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.5064, allocations: 43.48 kB / 476.8 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.5075, allocations: 0.6491 MB / 477.4 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.5075, allocations: 8 kB / 477.4 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5075, allocations: 0 / 477.4 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.5075, allocations: 3.984 kB / 477.4 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.5098, allocations: 1.547 MB / 479 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5099, allocations: 4 kB / 479 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/0.5105, allocations: 151.8 kB / 479.1 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.1e-05/0.5105, allocations: 8 kB / 479.1 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.5105, allocations: 15.95 kB / 479.2 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.5106, allocations: 4 kB / 479.2 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5106, allocations: 3.984 kB / 479.2 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.5119, allocations: 1.131 MB / 480.3 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.5121, allocations: 132.3 kB / 480.4 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.294e-05/0.5121, allocations: 16 kB / 480.4 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.5125, allocations: 23.98 kB / 480.5 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.5126, allocations: 48.66 kB / 480.5 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/0.5126, allocations: 20 kB / 480.5 MB, free: 1.965 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002257/0.5129, allocations: 206.2 kB / 480.7 MB, free: 1.762 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5129, allocations: 4 kB / 480.7 MB, free: 1.758 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008673/0.5138, allocations: 247.1 kB / 481 MB, free: 1.516 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003095/0.5141, allocations: 171 kB / 481.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.5151, allocations: 0.6432 MB / 481.8 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5151, allocations: 4.062 kB / 481.8 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000405/0.5155, allocations: 300.4 kB / 482.1 MB, free: 416 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.5159, allocations: 34.09 kB / 482.1 MB, free: 380 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.5197, allocations: 1.532 MB / 483.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.5203, allocations: 0.9361 MB / 484.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000428/0.5207, allocations: 100.8 kB / 484.7 MB, free: 13.74 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.5209, allocations: 55.42 kB / 484.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of SimCode: time 1.723e-06/0.5209, allocations: 0 / 484.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of Templates: time 0.01018/0.531, allocations: 4.681 MB / 489.4 MB, free: 9.004 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1)