Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002418/0.002418, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.751/1.751, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001393/0.001393, allocations: 51.92 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3492, allocations: 46.63 MB / 325.3 MB, free: 1.879 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01017/0.3595, allocations: 7.718 MB / 333 MB, free: 11.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008466/0.368, allocations: 2.723 MB / 335.8 MB, free: 9.469 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.3699, allocations: 55.69 kB / 335.8 MB, free: 9.414 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.3716, allocations: 0.56 MB / 336.4 MB, free: 8.852 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.3738, allocations: 0.7458 MB / 337.1 MB, free: 8.102 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.3749, allocations: 435.4 kB / 337.5 MB, free: 7.676 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003765/0.3787, allocations: 3.386 MB / 340.9 MB, free: 4.273 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003758/0.3825, allocations: 3.43 MB / 344.4 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003258/0.3857, allocations: 1.649 MB / 346 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.3883, allocations: 2.028 MB / 348 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005866/0.3889, allocations: 460 kB / 348.5 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.3901, allocations: 0.6675 MB / 349.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.3912, allocations: 1.243 MB / 350.4 MB, free: 10.74 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002081/0.3933, allocations: 1.964 MB / 352.4 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005396/0.3987, allocations: 6.041 MB / 358.4 MB, free: 2.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3988, allocations: 0 / 358.4 MB, free: 2.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3988, allocations: 0 / 358.4 MB, free: 2.707 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.129e-05/0.3989, allocations: 0 / 358.4 MB, free: 2.707 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.007389/0.4062, allocations: 3.775 MB / 362.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.4063, allocations: 8.031 kB / 362.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.4073, allocations: 396.6 kB / 362.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003276/0.4106, allocations: 1.952 MB / 364.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.4108, allocations: 225.8 kB / 364.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004358/0.4113, allocations: 288 kB / 365 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0071/0.4184, allocations: 4.175 MB / 369.2 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.038e-05/0.4185, allocations: 11.94 kB / 369.2 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003112/0.4188, allocations: 120 kB / 369.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002004/0.419, allocations: 141.9 kB / 369.5 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006477/0.4255, allocations: 3.482 MB / 372.9 MB, free: 3.969 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02089/0.4464, allocations: 10.94 MB / 383.9 MB, free: 8.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003184/0.4497, allocations: 2.642 MB / 386.5 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/0.452, allocations: 1.485 MB / 388 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002722/0.4523, allocations: 122 kB / 388.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.4524, allocations: 51.5 kB / 388.2 MB, free: 4.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.328e-06/0.4524, allocations: 0 / 388.2 MB, free: 4.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01027/0.4627, allocations: 5.286 MB / 393.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.4628, allocations: 90.42 kB / 393.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003715/0.4665, allocations: 1.917 MB / 395.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.4666, allocations: 49.64 kB / 395.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009964/0.4676, allocations: 1.318 MB / 396.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004059/0.468, allocations: 461.3 kB / 397.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004914/0.4685, allocations: 271.3 kB / 397.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4687, allocations: 309.1 kB / 397.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.47, allocations: 0.812 MB / 398.7 MB, free: 9.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.4715, allocations: 1.187 MB / 399.9 MB, free: 8.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002811/0.4743, allocations: 2.083 MB / 401.9 MB, free: 6.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.4743, allocations: 4 kB / 402 MB, free: 6.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004458/0.4788, allocations: 2.527 MB / 404.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.4788, allocations: 16.02 kB / 404.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/0.4789, allocations: 12 kB / 404.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/0.4804, allocations: 422.3 kB / 404.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.4817, allocations: 331.5 kB / 405.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006146/0.4878, allocations: 4.419 MB / 409.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.4897, allocations: 79.92 kB / 409.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/0.4899, allocations: 63.98 kB / 409.8 MB, free: 14.09 MB / 350.1 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002669/0.4926, allocations: 1.044 MB / 410.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008966/0.4935, allocations: 193.7 kB / 411 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004503/0.498, allocations: 2.137 MB / 413.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.294e-05/0.4981, allocations: 19.98 kB / 413.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.938e-05/0.4981, allocations: 4 kB / 413.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.4981, allocations: 7.969 kB / 413.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/0.5095, allocations: 5.198 MB / 418.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.5096, allocations: 0 / 418.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.5106, allocations: 227.6 kB / 418.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/0.5122, allocations: 409.3 kB / 419 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.5123, allocations: 35.98 kB / 419.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006163/0.5185, allocations: 4.298 MB / 423.4 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5185, allocations: 3.938 kB / 423.4 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005648/0.5242, allocations: 3.253 MB / 426.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/0.5256, allocations: 450.8 kB / 427.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006572/0.5263, allocations: 32 kB / 427.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.5278, allocations: 95.95 kB / 427.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/0.5281, allocations: 96.8 kB / 427.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.5282, allocations: 39.98 kB / 427.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002994/0.5312, allocations: 1.342 MB / 428.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.495e-06/0.5312, allocations: 0 / 428.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00301/0.5342, allocations: 0.5585 MB / 429.2 MB, free: 10.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008621/0.5351, allocations: 218.9 kB / 429.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005648/0.5408, allocations: 2.864 MB / 432.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.5408, allocations: 0 / 432.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002011/0.5428, allocations: 1.223 MB / 433.5 MB, free: 6.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/0.5456, allocations: 0.5158 MB / 434 MB, free: 5.504 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.5567, allocations: 5.771 MB / 439.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002966/0.5597, allocations: 2.423 MB / 442.2 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001838/0.5616, allocations: 499.4 kB / 442.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/0.5622, allocations: 131.4 kB / 442.8 MB, free: 12.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.173e-06/0.5622, allocations: 3.938 kB / 442.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of Templates: time 0.2572/0.8194, allocations: 30.2 MB / 473 MB, free: 102.7 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1)