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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001289/0.001289, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.101/1.101, allocations: 194.5 MB / 211.6 MB, free: 3.031 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00154/0.00154, allocations: 119.3 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002586/0.0002586, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06864/0.06891, allocations: 44.5 MB / 355.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.296, allocations: 105.8 MB / 460.8 MB, free: 196 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.2962, allocations: 87.77 kB / 460.9 MB, free: 148 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1415/0.4378, allocations: 53.33 MB / 0.5022 GB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4378, allocations: 0 / 0.5022 GB, free: 12.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001249/0.438, allocations: 55.92 kB / 0.5023 GB, free: 12.8 MB / 394.7 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.006192/0.4442, allocations: 2.606 MB / 0.5048 GB, free: 10.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.4442, allocations: 12.03 kB / 0.5048 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005355/0.4447, allocations: 276.8 kB / 0.5051 GB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.4471, allocations: 1.358 MB / 0.5064 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.4473, allocations: 244.9 kB / 0.5066 GB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004877/0.4478, allocations: 231.8 kB / 0.5069 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003635/0.4514, allocations: 2.18 MB / 0.509 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/0.4515, allocations: 3.953 kB / 0.509 GB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.4516, allocations: 80 kB / 0.5091 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/0.4517, allocations: 52 kB / 0.5091 GB, free: 5.555 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003658/0.4554, allocations: 1.92 MB / 0.511 GB, free: 3.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1504/0.6058, allocations: 7.901 MB / 0.5187 GB, free: 91.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/0.6086, allocations: 2.107 MB / 0.5208 GB, free: 91.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.444e-05/0.6087, allocations: 23.97 kB / 0.5208 GB, free: 91.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.6087, allocations: 66.66 kB / 0.5209 GB, free: 91.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=208): time 3.907e-06/0.6087, allocations: 0 / 0.5209 GB, free: 91.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=250): time 0.04876/0.6575, allocations: 14.41 MB / 0.5349 GB, free: 89.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.734e-05/0.6576, allocations: 393.2 kB / 0.5353 GB, free: 88.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.6597, allocations: 1.338 MB / 0.5366 GB, free: 88.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003601/0.6601, allocations: 72.77 kB / 0.5367 GB, free: 88.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000465/0.6606, allocations: 0.8082 MB / 0.5375 GB, free: 88.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000655/0.6613, allocations: 0.8318 MB / 0.5383 GB, free: 88.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.6614, allocations: 46.53 kB / 0.5383 GB, free: 88.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6615, allocations: 392.2 kB / 0.5387 GB, free: 87.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.6633, allocations: 1.01 MB / 0.5397 GB, free: 87.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.6651, allocations: 1.239 MB / 0.5409 GB, free: 87.61 MB / 394.7 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.02804/0.6932, allocations: 7.452 MB / 0.5482 GB, free: 86.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.6932, allocations: 0 / 0.5482 GB, free: 86.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005658/0.6989, allocations: 2.947 MB / 0.5511 GB, free: 84.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.6989, allocations: 8.156 kB / 0.5511 GB, free: 84.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/0.699, allocations: 11.45 kB / 0.5511 GB, free: 84.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00093/0.6999, allocations: 347.4 kB / 0.5514 GB, free: 84.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/0.7025, allocations: 0.5542 MB / 0.5519 GB, free: 84.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006367/0.7089, allocations: 10.1 MB / 0.5618 GB, free: 75.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.7114, allocations: 147.2 kB / 0.5619 GB, free: 75.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/0.7116, allocations: 83.47 kB / 0.562 GB, free: 75.57 MB / 394.7 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: 7 * 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 (253): * Single equations (assignments): 241 * 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.00114/0.7127, allocations: 458.5 kB / 0.5625 GB, free: 75.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000441/0.7132, allocations: 204.5 kB / 0.5627 GB, free: 75.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006914/0.7201, allocations: 3.45 MB / 0.566 GB, free: 73.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/0.7202, allocations: 32.77 kB / 0.5661 GB, free: 73.72 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/0.7202, allocations: 7 kB / 0.5661 GB, free: 73.72 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.7202, allocations: 14.89 kB / 0.5661 GB, free: 73.72 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.7323, allocations: 6.327 MB / 0.5723 GB, free: 71.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.7324, allocations: 0 / 0.5723 GB, free: 71.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/0.7343, allocations: 430.9 kB / 0.5727 GB, free: 71.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005906/0.7403, allocations: 1.262 MB / 0.5739 GB, free: 70.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003313/0.7406, allocations: 61.27 kB / 0.574 GB, free: 70.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01624/0.7569, allocations: 17.67 MB / 0.5912 GB, free: 55.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7569, allocations: 3.656 kB / 0.5912 GB, free: 55.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/0.7673, allocations: 5.143 MB / 0.5962 GB, free: 52.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.7685, allocations: 0.5315 MB / 0.5968 GB, free: 52.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/0.7688, allocations: 55.83 kB / 0.5968 GB, free: 52.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/0.7706, allocations: 160.8 kB / 0.597 GB, free: 51.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004432/0.771, allocations: 204.5 kB / 0.5972 GB, free: 51.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/0.7712, allocations: 69.86 kB / 0.5972 GB, free: 51.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001173/0.7724, allocations: 1.035 MB / 0.5982 GB, free: 50.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7724, allocations: 0 / 0.5982 GB, free: 50.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002427/0.7748, allocations: 0.712 MB / 0.5989 GB, free: 50.12 MB / 394.7 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.0005329/0.7753, allocations: 282.7 kB / 0.5992 GB, free: 49.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004833/0.7802, allocations: 3.399 MB / 0.6025 GB, free: 46.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.7802, allocations: 3.391 kB / 0.6025 GB, free: 46.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003175/0.7834, allocations: 2.628 MB / 0.6051 GB, free: 44.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.7852, allocations: 336.5 kB / 0.6054 GB, free: 43.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007585/0.7928, allocations: 6.36 MB / 0.6116 GB, free: 38.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008379/0.7937, allocations: 1.607 MB / 0.6132 GB, free: 36.87 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0015/0.7952, allocations: 296.3 kB / 0.6135 GB, free: 36.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005673/0.7957, allocations: 157.5 kB / 0.6136 GB, free: 36.54 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7958, allocations: 0 / 0.6136 GB, free: 36.54 MB / 394.7 MB Notification: Performance of Templates: time 0.04738/0.8431, allocations: 35.58 MB / 0.6484 GB, free: 7.324 MB / 394.7 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)