Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001094/0.001094, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001324/0.001324, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.803/1.803, allocations: 205.4 MB / 223.4 MB, free: 5.289 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.0004444/0.0004445, allocations: 11.98 kB / 280.1 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2589, allocations: 47.59 MB / 327.7 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.009074/0.268, allocations: 9.192 MB / 336.9 MB, free: 10.22 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.28, allocations: 6.096 MB / 343 MB, free: 4.164 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002502/0.2825, allocations: 39.81 kB / 343.1 MB, free: 4.125 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.2844, allocations: 361.5 kB / 343.4 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003312/0.2877, allocations: 0.745 MB / 344.2 MB, free: 3.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006167/0.2939, allocations: 1.81 MB / 346 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005194/0.2991, allocations: 3.139 MB / 349.1 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.3006, allocations: 0.5964 MB / 349.7 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002323/0.303, allocations: 1.039 MB / 350.7 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.3055, allocations: 1.257 MB / 352 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009633/0.3065, allocations: 152 kB / 352.2 MB, free: 10.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.3081, allocations: 379.6 kB / 352.5 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009812/0.3091, allocations: 0.5409 MB / 353.1 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.3102, allocations: 472.5 kB / 353.5 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004268/0.3145, allocations: 2.984 MB / 356.5 MB, free: 6.609 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.3145, allocations: 0 / 356.5 MB, free: 6.609 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.3145, allocations: 0 / 356.5 MB, free: 6.609 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.000195/0.3147, allocations: 0 / 356.5 MB, free: 6.609 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.008229/0.323, allocations: 2.674 MB / 359.2 MB, free: 3.875 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.323, allocations: 16.02 kB / 359.2 MB, free: 3.859 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.324, allocations: 276.8 kB / 359.5 MB, free: 3.586 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002936/0.327, allocations: 1.303 MB / 360.8 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002855/0.3273, allocations: 236.9 kB / 361 MB, free: 1.98 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007437/0.328, allocations: 235.9 kB / 361.2 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004772/0.3328, allocations: 2.177 MB / 363.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/0.3329, allocations: 0 / 363.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/0.3331, allocations: 84 kB / 363.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.3332, allocations: 48 kB / 363.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004334/0.3375, allocations: 1.943 MB / 365.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/0.3511, allocations: 7.88 MB / 373.4 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003733/0.3549, allocations: 2.111 MB / 375.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/0.3572, allocations: 1.243 MB / 376.7 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.3573, allocations: 29.98 kB / 376.7 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.951e-05/0.3574, allocations: 68.52 kB / 376.8 MB, free: 1.801 MB / 302.1 MB Notification: Performance of pre-optimization done (n=208): time 5.3e-06/0.3574, allocations: 3.938 kB / 376.8 MB, free: 1.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=250): time 0.05229/0.4097, allocations: 14.77 MB / 391.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002009/0.41, allocations: 405.7 kB / 392 MB, free: 2.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002547/0.4125, allocations: 1.487 MB / 393.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003703/0.4129, allocations: 73.7 kB / 393.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006765/0.4136, allocations: 0.8237 MB / 394.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000933/0.4145, allocations: 0.8393 MB / 395.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/0.4148, allocations: 51.94 kB / 395.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.415, allocations: 390.8 kB / 395.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002369/0.4174, allocations: 1.016 MB / 396.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002508/0.4199, allocations: 1.272 MB / 397.9 MB, free: 12.31 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.0296/0.4495, allocations: 7.461 MB / 405.4 MB, free: 4.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.4496, allocations: 4 kB / 405.4 MB, free: 4.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.00726/0.4569, allocations: 2.971 MB / 408.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.4569, allocations: 8 kB / 408.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/0.457, allocations: 7.984 kB / 408.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.458, allocations: 360.9 kB / 408.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002705/0.4607, allocations: 0.55 MB / 409.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009778/0.4705, allocations: 10.02 MB / 419.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/0.473, allocations: 144 kB / 419.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000448/0.4734, allocations: 75.97 kB / 419.5 MB, free: 5.773 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.00148/0.4749, allocations: 468.2 kB / 420 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007677/0.4757, allocations: 209.6 kB / 420.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009069/0.4848, allocations: 3.539 MB / 423.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/0.4849, allocations: 27.98 kB / 423.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/0.4849, allocations: 4 kB / 423.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-05/0.4849, allocations: 19.91 kB / 423.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.499, allocations: 6.27 MB / 430 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.4991, allocations: 480 / 430 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/0.5011, allocations: 423.5 kB / 430.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005862/0.507, allocations: 1.268 MB / 431.7 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004191/0.5074, allocations: 55.98 kB / 431.8 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02332/0.5307, allocations: 17.4 MB / 449.2 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5308, allocations: 0 / 449.2 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/0.5436, allocations: 5.014 MB / 454.2 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/0.5451, allocations: 0.5256 MB / 454.7 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006702/0.5458, allocations: 59.95 kB / 454.8 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/0.548, allocations: 159.9 kB / 454.9 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006253/0.5486, allocations: 197.7 kB / 455.1 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/0.5489, allocations: 71.98 kB / 455.2 MB, free: 464 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2206/0.7695, allocations: 1.024 MB / 456.2 MB, free: 110.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.042e-06/0.7695, allocations: 0 / 456.2 MB, free: 110.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005341/0.7749, allocations: 0.6959 MB / 456.9 MB, free: 110.6 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.0009317/0.7759, allocations: 249.6 kB / 457.2 MB, free: 110.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0065/0.7824, allocations: 3.411 MB / 460.6 MB, free: 109.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.7824, allocations: 2.062 kB / 460.6 MB, free: 109.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003775/0.7862, allocations: 2.63 MB / 463.2 MB, free: 108.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.7887, allocations: 378.3 kB / 463.6 MB, free: 108.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009002/0.7977, allocations: 6.376 MB / 469.9 MB, free: 104.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.7988, allocations: 1.561 MB / 471.5 MB, free: 104 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001725/0.8005, allocations: 293.9 kB / 471.8 MB, free: 104 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000601/0.8011, allocations: 157.5 kB / 471.9 MB, free: 104 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.8011, allocations: 0 / 471.9 MB, free: 104 MB / 382.1 MB Notification: Performance of Templates: time 0.05143/0.8526, allocations: 35.3 MB / 0.4954 GB, free: 69.8 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)