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.001885/0.001885, allocations: 183.8 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.511/1.511, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001582/0.001582, allocations: 119.5 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.539e-05/1.542e-05, allocations: 7.984 kB / 298.1 MB, free: 35.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07761/0.07764, allocations: 44.5 MB / 342.6 MB, free: 6.98 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3049/0.3826, allocations: 80.4 MB / 423 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.3828, allocations: 81.05 kB / 423.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05499/0.4378, allocations: 28.42 MB / 451.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4378, allocations: 0 / 451.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.4379, allocations: 16 kB / 451.5 MB, free: 14.6 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.002129/0.44, allocations: 1.064 MB / 452.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4401, allocations: 12.03 kB / 452.6 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004528/0.4446, allocations: 0.7102 MB / 453.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006048/0.4452, allocations: 441.3 kB / 453.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.4453, allocations: 36 kB / 453.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.4454, allocations: 63.91 kB / 453.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001611/0.447, allocations: 1.015 MB / 454.8 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.4484, allocations: 0.8829 MB / 455.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.4485, allocations: 5.438 kB / 455.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.128e-05/0.4486, allocations: 0 / 455.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.4486, allocations: 31.95 kB / 455.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005358/0.454, allocations: 3.881 MB / 459.6 MB, free: 7.727 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/0.4572, allocations: 3.709 MB / 463.3 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.4575, allocations: 268.7 kB / 463.6 MB, free: 3.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.4577, allocations: 97.66 kB / 463.7 MB, free: 2.957 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.4577, allocations: 43.12 kB / 463.7 MB, free: 2.906 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 2.605e-06/0.4577, allocations: 0 / 463.7 MB, free: 2.906 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.001277/0.459, allocations: 0.592 MB / 464.3 MB, free: 2.305 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.4591, allocations: 111.4 kB / 464.4 MB, free: 2.172 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.4593, allocations: 262 kB / 464.7 MB, free: 1.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.4594, allocations: 25.7 kB / 464.7 MB, free: 1.879 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.4596, allocations: 442 kB / 465.1 MB, free: 1.438 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.4598, allocations: 236.5 kB / 465.4 MB, free: 1.203 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.4598, allocations: 4 kB / 465.4 MB, free: 1.199 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.46, allocations: 346.8 kB / 465.7 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.4603, allocations: 198.6 kB / 465.9 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.4608, allocations: 0.5129 MB / 466.4 MB, free: 0 / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009932/0.4618, allocations: 444.1 kB / 466.9 MB, free: 15.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-06/0.4618, allocations: 4 kB / 466.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001773/0.4636, allocations: 0.8945 MB / 467.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.4637, allocations: 19.38 kB / 467.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.4637, allocations: 11.98 kB / 467.8 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/0.4637, allocations: 16 kB / 467.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008176/0.4645, allocations: 235.6 kB / 468 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-05/0.4646, allocations: 27.88 kB / 468.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.4651, allocations: 83.12 kB / 468.1 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/0.4652, allocations: 47.98 kB / 468.2 MB, free: 14.23 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.0001537/0.4653, allocations: 141.1 kB / 468.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.4654, allocations: 43.47 kB / 468.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.4669, allocations: 0.6999 MB / 469.1 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.4669, allocations: 8 kB / 469.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4669, allocations: 3.938 kB / 469.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.4669, allocations: 11.94 kB / 469.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.4694, allocations: 1.492 MB / 470.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4694, allocations: 4 kB / 470.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/0.47, allocations: 147.8 kB / 470.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.47, allocations: 4 kB / 470.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.4701, allocations: 7.984 kB / 470.7 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.4701, allocations: 8 kB / 470.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4701, allocations: 0 / 470.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.4718, allocations: 1.185 MB / 471.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.4719, allocations: 132.4 kB / 472.1 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.472, allocations: 7.984 kB / 472.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.4723, allocations: 12.06 kB / 472.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.932e-05/0.4724, allocations: 52.66 kB / 472.1 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.4725, allocations: 23.94 kB / 472.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001869/0.4727, allocations: 178 kB / 472.3 MB, free: 9.992 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4727, allocations: 0 / 472.3 MB, free: 9.992 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009004/0.4736, allocations: 227 kB / 472.5 MB, free: 9.77 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.0002949/0.4739, allocations: 139.1 kB / 472.7 MB, free: 9.621 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009698/0.4749, allocations: 0.5921 MB / 473.3 MB, free: 9.027 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4749, allocations: 0 / 473.3 MB, free: 9.027 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.4753, allocations: 282.9 kB / 473.6 MB, free: 8.754 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.4756, allocations: 20.88 kB / 473.6 MB, free: 8.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/0.4795, allocations: 1.503 MB / 475.1 MB, free: 7.215 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.48, allocations: 0.94 MB / 476 MB, free: 6.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004192/0.4805, allocations: 88.84 kB / 476.1 MB, free: 6.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.4806, allocations: 51.42 kB / 476.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4806, allocations: 0 / 476.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of Templates: time 0.009039/0.4897, allocations: 4.302 MB / 480.5 MB, free: 1.816 MB / 330.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)