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.0009841/0.0009841, allocations: 92.53 kB / 16.3 MB, free: 5.527 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.001044/0.001045, allocations: 184.5 kB / 17.2 MB, free: 5.461 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.668/1.668, allocations: 205.4 MB / 223.4 MB, free: 5.285 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.0005238/0.000524, allocations: 15.98 kB / 280.1 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2659, allocations: 47.58 MB / 327.7 MB, free: 1.465 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02367/0.2896, allocations: 23.69 MB / 351.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01517/0.3048, allocations: 7.091 MB / 358.5 MB, free: 4.641 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005434/0.3103, allocations: 207.3 kB / 358.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00556/0.3159, allocations: 1.535 MB / 360.2 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.3268, allocations: 2.513 MB / 362.7 MB, free: 384 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006423/0.3333, allocations: 1.396 MB / 364.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02742/0.3607, allocations: 18.19 MB / 382.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07073/0.4315, allocations: 35.41 MB / 417.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01034/0.4419, allocations: 6.432 MB / 424.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01267/0.4546, allocations: 7.552 MB / 431.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006628/0.4612, allocations: 1.168 MB / 432.9 MB, free: 10 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00826/0.4695, allocations: 1.363 MB / 434.3 MB, free: 8.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006548/0.4761, allocations: 3.384 MB / 437.6 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008193/0.4843, allocations: 3.716 MB / 441.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4607/0.945, allocations: 33.68 MB / 475 MB, free: 41.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9451, allocations: 2.969 kB / 475 MB, free: 41.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.9451, allocations: 0 / 475 MB, free: 41.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001224/0.9463, allocations: 0 / 475 MB, free: 41.48 MB / 382.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.05529/1.002, allocations: 18.97 MB / 494 MB, free: 32.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/1.002, allocations: 9.344 kB / 494 MB, free: 32.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06484/1.067, allocations: 12.34 MB / 0.4945 GB, free: 25.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02501/1.092, allocations: 10.44 MB / 0.5047 GB, free: 19.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001809/1.093, allocations: 1.397 MB / 0.5061 GB, free: 19.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009785/1.103, allocations: 1.82 MB / 0.5078 GB, free: 17.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08102/1.184, allocations: 30.59 MB / 0.5377 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001116/1.185, allocations: 26.55 kB / 0.5377 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009313/1.195, allocations: 0.757 MB / 0.5385 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001229/1.196, allocations: 0.9898 MB / 0.5394 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06949/1.266, allocations: 27.75 MB / 0.5665 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4757/1.741, allocations: 94.54 MB / 0.6589 GB, free: 87.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03497/1.776, allocations: 53.36 MB / 0.711 GB, free: 42.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03821/1.815, allocations: 16.84 MB / 0.7274 GB, free: 38.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.293e-05/1.815, allocations: 80.88 kB / 0.7275 GB, free: 38.67 MB / 478.1 MB Notification: Performance of pre-optimization done (n=445): time 6.162e-06/1.815, allocations: 2.516 kB / 0.7275 GB, free: 38.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=445): time 0.03387/1.849, allocations: 14.8 MB / 0.742 GB, free: 33.95 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/1.849, allocations: 124.4 kB / 0.7421 GB, free: 33.85 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01154/1.86, allocations: 7.413 MB / 0.7493 GB, free: 30.74 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001001/1.861, allocations: 96.2 kB / 0.7494 GB, free: 30.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00529/1.867, allocations: 8.499 MB / 0.7577 GB, free: 23.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002204/1.869, allocations: 1.617 MB / 0.7593 GB, free: 22.21 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000809/1.87, allocations: 221 kB / 0.7595 GB, free: 22.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004741/1.87, allocations: 0.7651 MB / 0.7602 GB, free: 21.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006414/1.877, allocations: 4.758 MB / 0.7649 GB, free: 17 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00932/1.886, allocations: 10.4 MB / 0.775 GB, free: 3.949 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/1.897, allocations: 7.33 MB / 0.7822 GB, free: 12.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001767/1.897, allocations: 56 kB / 0.7823 GB, free: 12.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.03388/1.931, allocations: 16.18 MB / 0.798 GB, free: 13.63 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.000361/1.931, allocations: 92 kB / 0.7981 GB, free: 13.54 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000533/1.932, allocations: 196 kB / 0.7983 GB, free: 13.35 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006362/1.938, allocations: 1.837 MB / 0.8001 GB, free: 11.52 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00942/1.947, allocations: 2.479 MB / 0.8025 GB, free: 9.238 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/1.964, allocations: 12.34 MB / 0.8146 GB, free: 12.88 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/1.975, allocations: 1.548 MB / 0.8161 GB, free: 11.32 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002325/1.978, allocations: 0.6015 MB / 0.8167 GB, free: 10.71 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 894 * 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 (1308): * Single equations (assignments): 1299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,75.0%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01696/1.995, allocations: 7.401 MB / 0.8239 GB, free: 3.5 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001585/1.996, allocations: 0.6287 MB / 0.8245 GB, free: 2.863 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2586/2.255, allocations: 8.373 MB / 0.8327 GB, free: 190.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008614/2.263, allocations: 6.745 MB / 0.8393 GB, free: 188.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/2.263, allocations: 17.38 kB / 0.8393 GB, free: 188.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.722e-05/2.263, allocations: 23.53 kB / 0.8393 GB, free: 188.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03916/2.303, allocations: 21.11 MB / 0.8599 GB, free: 180.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/2.303, allocations: 0 / 0.8599 GB, free: 180.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003046/2.306, allocations: 0.7576 MB / 0.8607 GB, free: 180.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004899/2.311, allocations: 1.563 MB / 0.8622 GB, free: 180.4 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004819/2.311, allocations: 91.28 kB / 0.8623 GB, free: 180.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/2.326, allocations: 11.98 MB / 0.874 GB, free: 173.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/2.327, allocations: 0 / 0.874 GB, free: 173.7 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/2.342, allocations: 12.03 MB / 0.8857 GB, free: 163.5 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003829/2.346, allocations: 1.371 MB / 0.8871 GB, free: 162.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001295/2.348, allocations: 76 kB / 0.8871 GB, free: 162.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003037/2.351, allocations: 304.4 kB / 0.8874 GB, free: 161.9 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006951/2.351, allocations: 302.8 kB / 0.8877 GB, free: 161.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002532/2.352, allocations: 123.2 kB / 0.8878 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007906/2.36, allocations: 4.868 MB / 0.8926 GB, free: 157.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.01e-07/2.36, allocations: 0 / 0.8926 GB, free: 157.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01403/2.374, allocations: 4.206 MB / 0.8967 GB, free: 153.4 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (377): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 92} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00138/2.375, allocations: 271.6 kB / 0.897 GB, free: 153.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01708/2.392, allocations: 11.23 MB / 0.9079 GB, free: 143.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/2.392, allocations: 10.19 kB / 0.9079 GB, free: 143.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005926/2.398, allocations: 4.165 MB / 0.912 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006145/2.404, allocations: 1.401 MB / 0.9134 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05031/2.455, allocations: 35.5 MB / 0.948 GB, free: 102 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01259/2.467, allocations: 11.89 MB / 0.9597 GB, free: 90.05 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.009249/2.477, allocations: 3.948 MB / 0.9635 GB, free: 86.09 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/2.478, allocations: 0.4955 MB / 0.964 GB, free: 85.6 MB / 0.5138 GB Notification: Performance of SimCode: time 1.233e-06/2.478, allocations: 0 / 0.964 GB, free: 85.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.3924/2.87, allocations: 94.08 MB / 1.056 GB, free: 176.4 MB / 0.5138 GB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: