Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.001021, allocations: 90.64 kB / 16.65 MB, free: 6.602 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.001197/0.001197, allocations: 184.9 kB / 17.56 MB, free: 6.199 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.524/1.524, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.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.0004571/0.0004571, allocations: 8.469 kB / 280.7 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.0852, allocations: 47.6 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02656/0.1118, allocations: 27.64 MB / 356 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01542/0.1273, allocations: 7.317 MB / 363.3 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004232/0.1315, allocations: 203.3 kB / 363.5 MB, free: 456 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004498/0.136, allocations: 2.014 MB / 365.5 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.1466, allocations: 2.745 MB / 368.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006264/0.1529, allocations: 1.742 MB / 370 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1881/0.3409, allocations: 18.47 MB / 388.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07036/0.4113, allocations: 43.75 MB / 432.2 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01276/0.4241, allocations: 7.135 MB / 439.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01449/0.4387, allocations: 8.592 MB / 447.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003588/0.4423, allocations: 1.164 MB / 449.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005885/0.4482, allocations: 1.423 MB / 450.5 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004743/0.453, allocations: 3.529 MB / 454.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01808/0.4711, allocations: 8.75 MB / 462.8 MB, free: 8.523 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03789/0.509, allocations: 37.28 MB / 0.4884 GB, free: 3.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.5091, allocations: 0 / 0.4884 GB, free: 3.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5091, allocations: 0 / 0.4884 GB, free: 3.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0009798/0.5101, allocations: 4 kB / 0.4884 GB, free: 3.848 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.0532/0.5633, allocations: 18.8 MB / 0.5067 GB, free: 1.059 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.5633, allocations: 12.03 kB / 0.5067 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06663/0.63, allocations: 12.33 MB / 0.5188 GB, free: 4.816 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02096/0.651, allocations: 10.56 MB / 0.5291 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001387/0.6524, allocations: 1.398 MB / 0.5305 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006815/0.6592, allocations: 1.827 MB / 0.5322 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3969/1.056, allocations: 30.89 MB / 0.5624 GB, free: 115.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008242/1.057, allocations: 24.16 kB / 0.5624 GB, free: 115.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005961/1.063, allocations: 0.7542 MB / 0.5632 GB, free: 115.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009277/1.064, allocations: 0.9899 MB / 0.5641 GB, free: 115 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05231/1.116, allocations: 27.91 MB / 0.5914 GB, free: 100 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1331/1.249, allocations: 94.64 MB / 0.6838 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3531/1.603, allocations: 53.36 MB / 0.7359 GB, free: 116.2 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009736/1.612, allocations: 5.898 MB / 0.7417 GB, free: 116 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.029/1.641, allocations: 16.88 MB / 0.7582 GB, free: 107.8 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/1.641, allocations: 87.86 kB / 0.7583 GB, free: 107.7 MB / 478.3 MB Notification: Performance of pre-optimization done (n=439): time 6.782e-06/1.642, allocations: 0 / 0.7583 GB, free: 107.7 MB / 478.3 MB Notification: Performance of matching and sorting (n=439): time 0.03077/1.672, allocations: 13.46 MB / 0.7714 GB, free: 103.7 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/1.672, allocations: 123.4 kB / 0.7715 GB, free: 103.6 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01064/1.683, allocations: 7.496 MB / 0.7788 GB, free: 100.9 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0007864/1.684, allocations: 93.61 kB / 0.7789 GB, free: 100.8 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004381/1.688, allocations: 8.515 MB / 0.7872 GB, free: 94.43 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.001767/1.69, allocations: 1.6 MB / 0.7888 GB, free: 93.24 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001417/1.691, allocations: 0.8588 MB / 0.7896 GB, free: 92.86 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 4.351e-05/1.692, allocations: 301.1 kB / 0.7899 GB, free: 92.57 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006571/1.698, allocations: 4.781 MB / 0.7946 GB, free: 90.86 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009272/1.707, allocations: 10.49 MB / 0.8048 GB, free: 81.41 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01702/1.724, allocations: 16.15 MB / 0.8206 GB, free: 68.34 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002292/1.725, allocations: 56 kB / 0.8207 GB, free: 68.28 MB / 478.3 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.02557/1.75, allocations: 16.16 MB / 0.8364 GB, free: 52.7 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/1.75, allocations: 92.94 kB / 0.8365 GB, free: 52.61 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002201/1.751, allocations: 203.9 kB / 0.8367 GB, free: 52.41 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005554/1.756, allocations: 1.699 MB / 0.8384 GB, free: 50.71 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008327/1.765, allocations: 2.511 MB / 0.8408 GB, free: 48.2 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01254/1.777, allocations: 10.78 MB / 0.8514 GB, free: 37.28 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009696/1.787, allocations: 1.556 MB / 0.8529 GB, free: 35.71 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002088/1.789, allocations: 0.5976 MB / 0.8535 GB, free: 35.11 MB / 478.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1318): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01256/1.802, allocations: 7.394 MB / 0.8607 GB, free: 27.7 MB / 478.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001318/1.803, allocations: 0.6326 MB / 0.8613 GB, free: 27.06 MB / 478.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/1.815, allocations: 8.262 MB / 0.8694 GB, free: 18.77 MB / 478.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008283/1.823, allocations: 6.652 MB / 0.8759 GB, free: 12.1 MB / 478.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/1.823, allocations: 12 kB / 0.8759 GB, free: 12.09 MB / 478.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-05/1.823, allocations: 23.86 kB / 0.8759 GB, free: 12.06 MB / 478.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2531/2.076, allocations: 21.01 MB / 0.8964 GB, free: 140 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.51e-05/2.076, allocations: 0.7188 kB / 0.8964 GB, free: 140 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003869/2.08, allocations: 0.7666 MB / 0.8972 GB, free: 140 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005592/2.086, allocations: 1.457 MB / 0.8986 GB, free: 140 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007304/2.087, allocations: 93.75 kB / 0.8987 GB, free: 140 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/2.1, allocations: 10.43 MB / 0.9089 GB, free: 136.9 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/2.1, allocations: 1.281 kB / 0.9089 GB, free: 136.9 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/2.117, allocations: 11.99 MB / 0.9206 GB, free: 132.2 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003466/2.121, allocations: 1.375 MB / 0.9219 GB, free: 131.5 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001779/2.122, allocations: 83.33 kB / 0.922 GB, free: 131.4 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003765/2.126, allocations: 309.1 kB / 0.9223 GB, free: 131.3 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008592/2.127, allocations: 299.2 kB / 0.9226 GB, free: 131.3 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002777/2.127, allocations: 130.1 kB / 0.9227 GB, free: 131.3 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.008271/2.136, allocations: 4.922 MB / 0.9275 GB, free: 129.6 MB / 494.3 MB Notification: Performance of sort global known variables: time 3.51e-07/2.136, allocations: 0 / 0.9275 GB, free: 129.6 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.0137/2.149, allocations: 4.186 MB / 0.9316 GB, free: 128.2 MB / 494.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.plug_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 (387): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001241/2.151, allocations: 280 kB / 0.9319 GB, free: 128 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.01619/2.167, allocations: 11.13 MB / 0.9427 GB, free: 123.9 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/2.167, allocations: 4.656 kB / 0.9427 GB, free: 123.9 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 0.006064/2.173, allocations: 4.029 MB / 0.9467 GB, free: 122.2 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009151/2.182, allocations: 1.452 MB / 0.9481 GB, free: 121.7 MB / 494.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05916/2.241, allocations: 37.64 MB / 0.9849 GB, free: 94.89 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02047/2.262, allocations: 11.61 MB / 0.9962 GB, free: 85.96 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.01326/2.275, allocations: 3.98 MB / 1 GB, free: 82.74 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002462/2.278, allocations: 0.5033 MB / 1.001 GB, free: 82.24 MB / 494.3 MB Notification: Performance of SimCode: time 1.423e-06/2.278, allocations: 0 / 1.001 GB, free: 82.24 MB / 494.3 MB Notification: Performance of Templates: time 0.3945/2.672, allocations: 94.96 MB / 1.093 GB, free: 120.5 MB / 494.3 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1)