Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 91.14 kB / 15.06 MB, free: 1.094 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.00133/0.00133, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004967/0.0004967, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2802, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01106/0.2914, allocations: 9.199 MB / 335.7 MB, free: 10.16 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.3054, allocations: 6.096 MB / 341.8 MB, free: 4.172 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/0.3086, allocations: 39.81 kB / 341.8 MB, free: 4.133 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.3105, allocations: 369.4 kB / 342.2 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004084/0.3146, allocations: 0.7372 MB / 342.9 MB, free: 3.027 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005998/0.3206, allocations: 1.806 MB / 344.7 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005274/0.3259, allocations: 3.139 MB / 347.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.3274, allocations: 0.5925 MB / 348.4 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/0.3295, allocations: 1.043 MB / 349.5 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/0.3319, allocations: 1.253 MB / 350.7 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007705/0.3326, allocations: 148 kB / 350.9 MB, free: 11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.3341, allocations: 383.6 kB / 351.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007448/0.3348, allocations: 0.5331 MB / 351.8 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.3359, allocations: 476.4 kB / 352.3 MB, free: 9.617 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003543/0.3394, allocations: 2.995 MB / 355.3 MB, free: 6.617 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3394, allocations: 0 / 355.3 MB, free: 6.617 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3394, allocations: 0 / 355.3 MB, free: 6.617 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001574/0.3396, allocations: 0 / 355.3 MB, free: 6.617 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.00796/0.3476, allocations: 2.67 MB / 357.9 MB, free: 3.887 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.3476, allocations: 16.02 kB / 357.9 MB, free: 3.871 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00085/0.3485, allocations: 276.8 kB / 358.2 MB, free: 3.598 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/0.3511, allocations: 1.295 MB / 359.5 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/0.3514, allocations: 240.9 kB / 359.7 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005691/0.3519, allocations: 239.8 kB / 360 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004271/0.3562, allocations: 2.165 MB / 362.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.153e-05/0.3563, allocations: 7.938 kB / 362.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.3565, allocations: 88 kB / 362.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-05/0.3565, allocations: 51.98 kB / 362.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003966/0.3605, allocations: 1.939 MB / 364.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.3733, allocations: 7.876 MB / 372.1 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003491/0.3768, allocations: 2.115 MB / 374.2 MB, free: 3.168 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/0.379, allocations: 1.239 MB / 375.5 MB, free: 1.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.3791, allocations: 29.98 kB / 375.5 MB, free: 1.891 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.876e-05/0.3792, allocations: 72.45 kB / 375.6 MB, free: 1.812 MB / 302.1 MB Notification: Performance of pre-optimization done (n=208): time 5.15e-06/0.3792, allocations: 0 / 375.6 MB, free: 1.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=250): time 0.05292/0.4321, allocations: 14.77 MB / 390.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002048/0.4324, allocations: 397.8 kB / 390.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/0.4351, allocations: 1.491 MB / 392.2 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003613/0.4355, allocations: 73.7 kB / 392.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006773/0.4361, allocations: 0.8237 MB / 393.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008847/0.437, allocations: 0.8315 MB / 393.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.4373, allocations: 59.97 kB / 394 MB, free: 15.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4375, allocations: 390.8 kB / 394.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/0.4397, allocations: 1.012 MB / 395.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002343/0.442, allocations: 1.28 MB / 396.7 MB, free: 12.32 MB / 334.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02952/0.4716, allocations: 7.457 MB / 404.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.4716, allocations: 0 / 404.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.007835/0.4795, allocations: 2.975 MB / 407.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.4795, allocations: 8 kB / 407.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.993e-05/0.4796, allocations: 4 kB / 407.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.4808, allocations: 364.9 kB / 407.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002732/0.4835, allocations: 0.55 MB / 408 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009971/0.4935, allocations: 10.02 MB / 418 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/0.4963, allocations: 140 kB / 418.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000452/0.4968, allocations: 79.95 kB / 418.3 MB, free: 5.789 MB / 350.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: transformer.H[1] = transformer.HStart[1] transformer.H[3] = transformer.HStart[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 9 (transformer.core1.asc,transformer.core2.asc,transformer.core3.asc,diode1.off,diode2.off,diode3.off,diode4.off,diode5.off,diode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (256): * Single equations (assignments): 244 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001687/0.4985, allocations: 473.4 kB / 418.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008855/0.4993, allocations: 205.6 kB / 418.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008967/0.5083, allocations: 3.535 MB / 422.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/0.5084, allocations: 24 kB / 422.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/0.5084, allocations: 4 kB / 422.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.32e-05/0.5084, allocations: 23.89 kB / 422.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.5227, allocations: 6.274 MB / 428.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.5227, allocations: 0 / 428.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/0.5247, allocations: 427.9 kB / 429.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00556/0.5302, allocations: 1.26 MB / 430.5 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002199/0.5305, allocations: 59.97 kB / 430.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02044/0.5509, allocations: 17.41 MB / 447.9 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.551, allocations: 0 / 447.9 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/0.5626, allocations: 5.007 MB / 452.9 MB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/0.5642, allocations: 0.5256 MB / 453.5 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000573/0.5648, allocations: 59.95 kB / 453.5 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/0.567, allocations: 155.9 kB / 453.7 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006176/0.5677, allocations: 197.7 kB / 453.9 MB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/0.5679, allocations: 75.97 kB / 453.9 MB, free: 480 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2193/0.7872, allocations: 1.023 MB / 455 MB, free: 110.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.7872, allocations: 1.375 kB / 455 MB, free: 110.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004439/0.7917, allocations: 0.6959 MB / 455.7 MB, free: 110.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.core1.Hstat,transformer.core1.B,transformer.core2.Hstat,transformer.core2.B,transformer.core3.Hstat,transformer.core3.B,transformer.winding11.i,transformer.winding12.i,transformer.winding13.i,transformer.winding21.i,transformer.winding22.i,transformer.winding23.i,capacitor1.v,capacitor2.v,pdissStatAvg.x[1],pdissStatAvg.x[2],pdissEddyAvg.x[1],pdissEddyAvg.x[2],pdissCopAvg.x[1],pdissCopAvg.x[2],transformer.core3.MagRel,transformer.core2.MagRel,transformer.core1.MagRel) * Number of discrete variables: 9 (transformer.core1.asc,transformer.core2.asc,transformer.core3.asc,diode1.off,diode2.off,diode3.off,diode4.off,diode5.off,diode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 6 {1 8,1 8,1 8,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005842/0.7923, allocations: 258.5 kB / 455.9 MB, free: 110.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005907/0.7982, allocations: 3.406 MB / 459.3 MB, free: 109.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.7982, allocations: 3.219 kB / 459.3 MB, free: 109.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003384/0.8016, allocations: 2.633 MB / 461.9 MB, free: 108.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/0.8037, allocations: 377.6 kB / 462.3 MB, free: 108.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007942/0.8116, allocations: 6.361 MB / 468.7 MB, free: 104.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009389/0.8126, allocations: 1.561 MB / 470.2 MB, free: 104 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001236/0.8139, allocations: 298.6 kB / 470.5 MB, free: 104 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005383/0.8144, allocations: 159.7 kB / 470.7 MB, free: 103.9 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.8144, allocations: 3.938 kB / 470.7 MB, free: 103.9 MB / 382.1 MB Notification: Performance of Templates: time 0.04274/0.8572, allocations: 35.31 MB / 0.4941 GB, free: 69.84 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)