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.001126/0.001127, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001209/0.00121, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.774/1.774, allocations: 205.1 MB / 222 MB, free: 4.977 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.001605/0.001605, allocations: 51.91 kB / 278.1 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3978, allocations: 46.62 MB / 324.7 MB, free: 2.047 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01124/0.4091, allocations: 7.676 MB / 332.4 MB, free: 12 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007551/0.4167, allocations: 2.694 MB / 335 MB, free: 9.781 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.4195, allocations: 51.75 kB / 335.1 MB, free: 9.762 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002246/0.4218, allocations: 0.4916 MB / 335.6 MB, free: 9.371 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003585/0.4254, allocations: 0.6783 MB / 336.3 MB, free: 8.723 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.4269, allocations: 391.6 kB / 336.7 MB, free: 8.34 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005235/0.4322, allocations: 3.776 MB / 340.4 MB, free: 4.547 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003764/0.436, allocations: 2.805 MB / 343.2 MB, free: 1.684 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003958/0.44, allocations: 1.43 MB / 344.7 MB, free: 260 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004071/0.444, allocations: 1.934 MB / 346.6 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008948/0.445, allocations: 292 kB / 346.9 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.4468, allocations: 0.519 MB / 347.4 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.448, allocations: 1.059 MB / 348.5 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002902/0.4509, allocations: 1.777 MB / 350.2 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006985/0.4579, allocations: 5.9 MB / 356.1 MB, free: 4.742 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.455e-06/0.4579, allocations: 0 / 356.1 MB, free: 4.742 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.4579, allocations: 4 kB / 356.1 MB, free: 4.738 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001742/0.4581, allocations: 3.938 kB / 356.1 MB, free: 4.734 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.01046/0.4686, allocations: 3.783 MB / 359.9 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.397e-05/0.4687, allocations: 8.031 kB / 359.9 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.4699, allocations: 388.6 kB / 360.3 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00359/0.4735, allocations: 1.952 MB / 362.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.4738, allocations: 225.8 kB / 362.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004613/0.4742, allocations: 287.9 kB / 362.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008165/0.4824, allocations: 4.183 MB / 367 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.503e-05/0.4825, allocations: 4 kB / 367 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/0.4828, allocations: 120 kB / 367.1 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/0.483, allocations: 145.9 kB / 367.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006484/0.4895, allocations: 3.486 MB / 370.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02006/0.5096, allocations: 10.94 MB / 381.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/0.5125, allocations: 2.646 MB / 384.3 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002389/0.515, allocations: 1.481 MB / 385.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003005/0.5153, allocations: 126.1 kB / 385.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/0.5153, allocations: 51.56 kB / 385.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.847e-06/0.5153, allocations: 0 / 385.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01088/0.5262, allocations: 5.274 MB / 391.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.623e-05/0.5264, allocations: 90.42 kB / 391.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003151/0.5295, allocations: 1.913 MB / 393.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.5297, allocations: 53.67 kB / 393.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009853/0.5307, allocations: 1.314 MB / 394.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004271/0.5311, allocations: 465.3 kB / 395 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004411/0.5316, allocations: 271.3 kB / 395.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5317, allocations: 305.1 kB / 395.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.533, allocations: 0.8159 MB / 396.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.5345, allocations: 1.187 MB / 397.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002888/0.5374, allocations: 2.091 MB / 399.7 MB, free: 8.141 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.5375, allocations: 4 kB / 399.7 MB, free: 8.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004519/0.542, allocations: 2.523 MB / 402.2 MB, free: 5.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.542, allocations: 8 kB / 402.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.5421, allocations: 12 kB / 402.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002008/0.5441, allocations: 482.4 kB / 402.7 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.5454, allocations: 339.5 kB / 403 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006007/0.5515, allocations: 4.061 MB / 407.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.5534, allocations: 91.81 kB / 407.2 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003058/0.5537, allocations: 63.98 kB / 407.3 MB, free: 436 kB / 334.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.002759/0.5565, allocations: 1.044 MB / 408.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008537/0.5574, allocations: 189.7 kB / 408.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004269/0.5616, allocations: 2.137 MB / 410.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.614e-05/0.5617, allocations: 16 kB / 410.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.5617, allocations: 4 kB / 410.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.5617, allocations: 11.97 kB / 410.7 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009956/0.5717, allocations: 5.194 MB / 415.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.5717, allocations: 0 / 415.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009994/0.5727, allocations: 235.9 kB / 416.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/0.5746, allocations: 464.5 kB / 416.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.313e-05/0.5747, allocations: 27.98 kB / 416.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005269/0.58, allocations: 3.963 MB / 420.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.58, allocations: 4.031 kB / 420.5 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006063/0.5861, allocations: 3.253 MB / 423.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001922/0.588, allocations: 462.7 kB / 424.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/0.5883, allocations: 27.98 kB / 424.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.5894, allocations: 95.91 kB / 424.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/0.5897, allocations: 96.8 kB / 424.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.5898, allocations: 39.98 kB / 424.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002361/0.5922, allocations: 1.338 MB / 425.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5922, allocations: 0 / 425.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00235/0.5946, allocations: 0.5547 MB / 426.4 MB, free: 12.98 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.0008166/0.5954, allocations: 218.8 kB / 426.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004612/0.6, allocations: 2.192 MB / 428.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.6, allocations: 0 / 428.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002227/0.6023, allocations: 1.218 MB / 430 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/0.6051, allocations: 497.3 kB / 430.5 MB, free: 8.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/0.6208, allocations: 7.054 MB / 437.5 MB, free: 1.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/0.6232, allocations: 2.427 MB / 440 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001824/0.625, allocations: 0.4916 MB / 440.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/0.6254, allocations: 127.4 kB / 440.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.733e-06/0.6255, allocations: 0 / 440.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of Templates: time 0.2495/0.8749, allocations: 29.06 MB / 469.6 MB, free: 104.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)