Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001303/0.001303, allocations: 110.2 kB / 17.06 MB, free: 5.969 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.001097/0.001097, allocations: 198.8 kB / 18.01 MB, free: 5.051 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.819/1.819, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001168/0.001168, allocations: 51.92 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1244, allocations: 46.62 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.328/0.4524, allocations: 7.713 MB / 382.2 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007237/0.4597, allocations: 2.74 MB / 384.9 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.4623, allocations: 58.19 kB / 385 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.4643, allocations: 0.5619 MB / 385.6 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003559/0.4679, allocations: 0.7377 MB / 386.3 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.4695, allocations: 435.2 kB / 386.7 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005692/0.4752, allocations: 3.404 MB / 390.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005044/0.4802, allocations: 3.434 MB / 393.6 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005006/0.4853, allocations: 1.654 MB / 395.2 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005032/0.4903, allocations: 2.019 MB / 397.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.4914, allocations: 461.3 kB / 397.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.4937, allocations: 0.672 MB / 398.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001827/0.4956, allocations: 1.239 MB / 399.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00363/0.4992, allocations: 1.973 MB / 401.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009977/0.5092, allocations: 6.113 MB / 407.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5092, allocations: 1.219 kB / 407.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5093, allocations: 0 / 407.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002204/0.5095, allocations: 0 / 407.7 MB, free: 12.02 MB / 334.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.01183/0.5213, allocations: 3.863 MB / 411.5 MB, free: 9.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.5214, allocations: 8.938 kB / 411.5 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.5229, allocations: 411 kB / 412 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003797/0.5267, allocations: 1.975 MB / 413.9 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.5269, allocations: 227.8 kB / 414.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004469/0.5273, allocations: 285.9 kB / 414.4 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008271/0.5356, allocations: 4.187 MB / 418.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.406e-05/0.5357, allocations: 7.938 kB / 418.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003004/0.536, allocations: 120 kB / 418.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/0.5362, allocations: 137.9 kB / 418.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00608/0.5423, allocations: 3.483 MB / 422.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02078/0.5631, allocations: 10.82 MB / 433.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/0.5663, allocations: 2.638 MB / 435.8 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002538/0.5688, allocations: 1.5 MB / 437.3 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/0.5692, allocations: 122.1 kB / 437.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.5692, allocations: 51.5 kB / 437.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 5.651e-06/0.5693, allocations: 3.984 kB / 437.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.01103/0.5803, allocations: 5.322 MB / 442.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.674e-05/0.5804, allocations: 94.42 kB / 442.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00325/0.5837, allocations: 1.91 MB / 444.8 MB, free: 8.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.5838, allocations: 57.64 kB / 444.9 MB, free: 8.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.5848, allocations: 1.357 MB / 446.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004147/0.5853, allocations: 475.9 kB / 446.7 MB, free: 6.602 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004705/0.5857, allocations: 275.5 kB / 447 MB, free: 6.324 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5859, allocations: 305.1 kB / 447.3 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.5872, allocations: 0.8159 MB / 448.1 MB, free: 5.207 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.5888, allocations: 1.191 MB / 449.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002984/0.5918, allocations: 2.087 MB / 451.3 MB, free: 1.629 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.5918, allocations: 4 kB / 451.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004691/0.5965, allocations: 2.543 MB / 453.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.5965, allocations: 11.91 kB / 453.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.5966, allocations: 12 kB / 453.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/0.5981, allocations: 426.7 kB / 454.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.5994, allocations: 331.5 kB / 454.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005628/0.605, allocations: 4.412 MB / 459.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.6068, allocations: 83.88 kB / 459.2 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.607, allocations: 63.98 kB / 459.2 MB, free: 9.613 MB / 382.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.002502/0.6095, allocations: 1.044 MB / 460.3 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007354/0.6102, allocations: 202.8 kB / 460.5 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004001/0.6143, allocations: 2.137 MB / 462.6 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-05/0.6143, allocations: 16 kB / 462.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.6143, allocations: 4 kB / 462.6 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.6143, allocations: 7.969 kB / 462.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/0.6248, allocations: 5.182 MB / 467.8 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.6248, allocations: 224 / 467.8 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009827/0.6258, allocations: 235.6 kB / 468 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/0.6272, allocations: 404.6 kB / 468.4 MB, free: 280 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.6273, allocations: 35.98 kB / 468.5 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005239/0.6326, allocations: 4.299 MB / 472.8 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6326, allocations: 0 / 472.8 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005339/0.6379, allocations: 3.264 MB / 476 MB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/0.6393, allocations: 467.8 kB / 476.5 MB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006849/0.64, allocations: 28.06 kB / 476.5 MB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.6415, allocations: 91.89 kB / 476.6 MB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/0.6417, allocations: 104.7 kB / 476.7 MB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.6419, allocations: 39.98 kB / 476.7 MB, free: 7.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002783/0.6447, allocations: 1.338 MB / 478.1 MB, free: 6.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6447, allocations: 0 / 478.1 MB, free: 6.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003014/0.6477, allocations: 0.5507 MB / 478.6 MB, free: 5.871 MB / 398.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.0008271/0.6485, allocations: 238 kB / 478.9 MB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003927/0.6525, allocations: 2.196 MB / 481.1 MB, free: 3.426 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.6525, allocations: 4.062 kB / 481.1 MB, free: 3.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002004/0.6545, allocations: 1.222 MB / 482.3 MB, free: 2.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.6575, allocations: 0.5135 MB / 482.8 MB, free: 1.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.6678, allocations: 5.796 MB / 488.6 MB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002273/0.6701, allocations: 2.42 MB / 491 MB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00167/0.6718, allocations: 491.4 kB / 491.5 MB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/0.6722, allocations: 135.4 kB / 491.6 MB, free: 8.738 MB / 414.1 MB Notification: Performance of SimCode: time 1.252e-06/0.6723, allocations: 4 kB / 491.6 MB, free: 8.734 MB / 414.1 MB Notification: Performance of Templates: time 0.05277/0.725, allocations: 30.73 MB / 0.5101 GB, free: 9.941 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1)