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.001309/0.001309, allocations: 109.9 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.001408/0.001408, allocations: 200 kB / 18.01 MB, free: 5.055 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.836/1.836, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.001277/0.001277, allocations: 52.39 kB / 327.9 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1278, allocations: 46.62 MB / 374.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.3/0.4278, allocations: 7.706 MB / 382.2 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007768/0.4356, allocations: 2.737 MB / 384.9 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.4379, allocations: 57.81 kB / 385 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.44, allocations: 0.5634 MB / 385.6 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003981/0.444, allocations: 0.7341 MB / 386.3 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.4462, allocations: 439.9 kB / 386.7 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006016/0.4522, allocations: 3.412 MB / 390.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006781/0.459, allocations: 3.435 MB / 393.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006453/0.4655, allocations: 1.66 MB / 395.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006879/0.4724, allocations: 2.019 MB / 397.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002964/0.4754, allocations: 460.2 kB / 397.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0049/0.4804, allocations: 0.6693 MB / 398.4 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004006/0.4844, allocations: 1.243 MB / 399.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009491/0.4939, allocations: 1.97 MB / 401.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.5089, allocations: 6.094 MB / 407.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.5089, allocations: 0 / 407.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5089, allocations: 5.406 kB / 407.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002467/0.5092, 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.01255/0.5217, allocations: 3.777 MB / 411.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.773e-05/0.5218, allocations: 8.906 kB / 411.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.5235, allocations: 390.2 kB / 411.8 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004396/0.5279, allocations: 1.964 MB / 413.8 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.5281, allocations: 228.8 kB / 414 MB, free: 7.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004274/0.5285, allocations: 283.2 kB / 414.3 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007567/0.5361, allocations: 4.187 MB / 418.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.072e-05/0.5362, allocations: 0 / 418.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002784/0.5365, allocations: 120 kB / 418.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000169/0.5366, allocations: 141.9 kB / 418.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005947/0.5426, allocations: 3.487 MB / 422.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02035/0.563, allocations: 10.77 MB / 433 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002847/0.5659, allocations: 2.654 MB / 435.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002376/0.5683, allocations: 1.489 MB / 437.1 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/0.5685, allocations: 130.1 kB / 437.3 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.5686, allocations: 47.56 kB / 437.3 MB, free: 72 kB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.907e-06/0.5686, allocations: 0 / 437.3 MB, free: 72 kB / 350.1 MB Notification: Performance of matching and sorting (n=133): time 0.01079/0.5794, allocations: 5.286 MB / 442.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/0.5795, allocations: 94.42 kB / 442.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003357/0.5829, allocations: 1.909 MB / 444.6 MB, free: 8.691 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.583, allocations: 53.64 kB / 444.7 MB, free: 8.633 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.5841, allocations: 1.314 MB / 446 MB, free: 7.301 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000478/0.5846, allocations: 465.3 kB / 446.4 MB, free: 6.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004887/0.5851, allocations: 267.3 kB / 446.7 MB, free: 6.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5852, allocations: 309.1 kB / 447 MB, free: 6.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.5865, allocations: 0.8198 MB / 447.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.5882, allocations: 1.187 MB / 449 MB, free: 4.102 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002852/0.5911, allocations: 2.091 MB / 451.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.5911, allocations: 4 kB / 451.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004609/0.5957, allocations: 2.527 MB / 453.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.5958, allocations: 15.91 kB / 453.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.5958, allocations: 8 kB / 453.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.5974, allocations: 430.7 kB / 454.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.5987, allocations: 335.5 kB / 454.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006028/0.6047, allocations: 4.396 MB / 458.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.6065, allocations: 83.91 kB / 458.9 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.6067, allocations: 63.98 kB / 458.9 MB, free: 9.875 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.00242/0.6091, allocations: 1.044 MB / 460 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006281/0.6097, allocations: 193.7 kB / 460.2 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003739/0.6135, allocations: 2.145 MB / 462.3 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.655e-05/0.6135, allocations: 16 kB / 462.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.6135, allocations: 7.984 kB / 462.3 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.6135, allocations: 3.984 kB / 462.3 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009552/0.6231, allocations: 5.17 MB / 467.5 MB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.6231, allocations: 4 kB / 467.5 MB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.6242, allocations: 231.9 kB / 467.7 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/0.6256, allocations: 412.5 kB / 468.1 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.6258, allocations: 31.98 kB / 468.2 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005672/0.6314, allocations: 4.295 MB / 472.5 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.6315, allocations: 4.031 kB / 472.5 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005469/0.6369, allocations: 3.252 MB / 475.7 MB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/0.6385, allocations: 454.7 kB / 476.2 MB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006675/0.6392, allocations: 35.97 kB / 476.2 MB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.6407, allocations: 99.95 kB / 476.3 MB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/0.6409, allocations: 96.67 kB / 476.4 MB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.6411, allocations: 39.98 kB / 476.4 MB, free: 8.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002576/0.6436, allocations: 1.342 MB / 477.8 MB, free: 6.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6436, allocations: 0 / 477.8 MB, free: 6.703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002589/0.6462, allocations: 0.5547 MB / 478.3 MB, free: 6.148 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.0006195/0.6469, allocations: 225.1 kB / 478.6 MB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003621/0.6505, allocations: 2.196 MB / 480.7 MB, free: 3.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.6505, allocations: 4 kB / 480.8 MB, free: 3.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002029/0.6526, allocations: 1.215 MB / 482 MB, free: 2.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.6551, allocations: 0.5143 MB / 482.5 MB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.6654, allocations: 5.703 MB / 488.2 MB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003023/0.6684, allocations: 2.427 MB / 490.6 MB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001562/0.67, allocations: 495.4 kB / 491.1 MB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/0.6704, allocations: 127.4 kB / 491.2 MB, free: 9.129 MB / 414.1 MB Notification: Performance of SimCode: time 6.72e-07/0.6704, allocations: 0 / 491.2 MB, free: 9.129 MB / 414.1 MB Notification: Performance of Templates: time 0.05584/0.7263, allocations: 31.09 MB / 0.5101 GB, free: 9.98 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)