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.001374/0.001374, allocations: 183.2 kB / 16.39 MB, free: 5.762 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.181/1.181, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001545/0.001545, allocations: 122.2 kB / 256.9 MB, free: 4.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002827, allocations: 15.97 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07278/0.07308, allocations: 44.5 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2186/0.2917, allocations: 81.15 MB / 436.2 MB, free: 8.434 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.292, allocations: 84.33 kB / 436.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05834/0.3503, allocations: 28.84 MB / 465.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3504, allocations: 4 kB / 465.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.12e-05/0.3504, allocations: 20 kB / 465.2 MB, free: 13.8 MB / 346.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.002496/0.3529, allocations: 1.08 MB / 466.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.353, allocations: 12.03 kB / 466.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004524/0.3575, allocations: 0.7091 MB / 467 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007791/0.3583, allocations: 453.3 kB / 467.4 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.587e-05/0.3584, allocations: 82.17 kB / 467.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/0.3586, allocations: 104 kB / 467.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.3607, allocations: 1.113 MB / 468.7 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.3608, allocations: 0 / 468.7 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.846e-05/0.3609, allocations: 48 kB / 468.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.3609, allocations: 24 kB / 468.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.3629, allocations: 1.14 MB / 469.9 MB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00586/0.3688, allocations: 4.058 MB / 474 MB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003043/0.3718, allocations: 3.756 MB / 477.7 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.372, allocations: 97.59 kB / 477.8 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.372, allocations: 47.08 kB / 477.9 MB, free: 36 kB / 346.7 MB Notification: Performance of pre-optimization done (n=71): time 3.316e-06/0.372, allocations: 0 / 477.9 MB, free: 36 kB / 346.7 MB Notification: Performance of matching and sorting (n=71): time 0.001398/0.3735, allocations: 0.7564 MB / 478.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.3735, allocations: 111.4 kB / 478.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.3738, allocations: 287.5 kB / 479 MB, free: 14.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.3739, allocations: 41.7 kB / 479 MB, free: 14.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.3742, allocations: 445.8 kB / 479.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.3744, allocations: 244.5 kB / 479.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.3745, allocations: 20 kB / 479.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3746, allocations: 350.8 kB / 480.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/0.3751, allocations: 245.9 kB / 480.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/0.3757, allocations: 0.5552 MB / 480.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.3762, allocations: 335.1 kB / 481.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.3762, allocations: 0 / 481.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00133/0.3776, allocations: 0.8968 MB / 482.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.3776, allocations: 8 kB / 482.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.3776, allocations: 12 kB / 482.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/0.3777, allocations: 19.95 kB / 482.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007736/0.3784, allocations: 240.3 kB / 482.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.737e-05/0.3785, allocations: 22.36 kB / 482.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/0.379, allocations: 110.9 kB / 482.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/0.3791, allocations: 44 kB / 482.5 MB, free: 11.14 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003393/0.3794, allocations: 237.5 kB / 482.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.3795, allocations: 47.38 kB / 482.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.3808, allocations: 0.6956 MB / 483.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.3809, allocations: 11.95 kB / 483.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3809, allocations: 4 kB / 483.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.3809, allocations: 3.984 kB / 483.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.3832, allocations: 1.575 MB / 485.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3832, allocations: 0 / 485.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/0.3838, allocations: 147.8 kB / 485.3 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.3838, allocations: 4 kB / 485.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.3839, allocations: 20 kB / 485.3 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.3839, allocations: 7.938 kB / 485.3 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3839, allocations: 3.953 kB / 485.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.3853, allocations: 1.182 MB / 486.5 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.3855, allocations: 136.4 kB / 486.6 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.113e-05/0.3856, allocations: 15.95 kB / 486.6 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.3859, allocations: 36.05 kB / 486.7 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.386, allocations: 40.59 kB / 486.7 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.386, allocations: 24 kB / 486.7 MB, free: 6.836 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002018/0.3863, allocations: 203.1 kB / 486.9 MB, free: 6.637 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3863, allocations: 3.938 kB / 486.9 MB, free: 6.633 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007757/0.387, allocations: 255.1 kB / 487.2 MB, free: 6.383 MB / 362.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 () * 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 (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.0002413/0.3873, allocations: 151 kB / 487.3 MB, free: 6.227 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.3884, allocations: 0.6909 MB / 488 MB, free: 5.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3884, allocations: 0 / 488 MB, free: 5.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004352/0.3889, allocations: 319.6 kB / 488.3 MB, free: 5.227 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.3892, allocations: 38.28 kB / 488.4 MB, free: 5.191 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004185/0.3934, allocations: 2.273 MB / 490.6 MB, free: 2.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.3939, allocations: 0.9361 MB / 491.6 MB, free: 1.926 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004204/0.3943, allocations: 92.89 kB / 491.7 MB, free: 1.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.3945, allocations: 55.42 kB / 491.7 MB, free: 1.777 MB / 362.7 MB Notification: Performance of SimCode: time 1.713e-06/0.3945, allocations: 0 / 491.7 MB, free: 1.777 MB / 362.7 MB Notification: Performance of Templates: time 0.009197/0.4037, allocations: 4.594 MB / 496.3 MB, free: 13.23 MB / 378.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)