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.001171/0.001172, allocations: 182.4 kB / 13.64 MB, free: 1.676 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.453/1.453, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001834/0.001835, allocations: 112.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.569e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08124/0.08128, allocations: 44.5 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3204/0.4017, allocations: 105.7 MB / 455.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.402, allocations: 83.08 kB / 455.2 MB, free: 5.984 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1422/0.5442, allocations: 53.33 MB / 0.4966 GB, free: 7.402 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5442, allocations: 0 / 0.4966 GB, free: 7.402 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001278/0.5444, allocations: 59.92 kB / 0.4967 GB, free: 7.344 MB / 362.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.004911/0.5493, allocations: 2.247 MB / 0.4989 GB, free: 5.039 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.5493, allocations: 8.031 kB / 0.4989 GB, free: 5.031 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005026/0.5498, allocations: 280.7 kB / 0.4992 GB, free: 4.754 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002251/0.5521, allocations: 1.35 MB / 0.5005 GB, free: 3.352 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.5523, allocations: 236.9 kB / 0.5007 GB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005212/0.5528, allocations: 235.8 kB / 0.5009 GB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003649/0.5565, allocations: 2.075 MB / 0.503 GB, free: 0.707 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.067e-05/0.5566, allocations: 7.953 kB / 0.503 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/0.5567, allocations: 84 kB / 0.503 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/0.5568, allocations: 48 kB / 0.5031 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002975/0.5598, allocations: 1.741 MB / 0.5048 GB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/0.5725, allocations: 7.911 MB / 0.5125 GB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/0.5753, allocations: 1.946 MB / 0.5144 GB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.5773, allocations: 1.351 MB / 0.5157 GB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.5775, allocations: 25.94 kB / 0.5158 GB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.5775, allocations: 60.56 kB / 0.5158 GB, free: 3.234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=208): time 4.118e-06/0.5775, allocations: 0 / 0.5158 GB, free: 3.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=250): time 0.04701/0.6245, allocations: 12.63 MB / 0.5282 GB, free: 6.523 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002829/0.6249, allocations: 397.7 kB / 0.5285 GB, free: 6.047 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003044/0.628, allocations: 1.326 MB / 0.5298 GB, free: 4.715 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005152/0.6285, allocations: 69.64 kB / 0.5299 GB, free: 4.641 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000768/0.6293, allocations: 0.8042 MB / 0.5307 GB, free: 3.828 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001179/0.6305, allocations: 0.8393 MB / 0.5315 GB, free: 2.977 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002955/0.6308, allocations: 48 kB / 0.5315 GB, free: 2.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002627/0.631, allocations: 390.7 kB / 0.5319 GB, free: 2.543 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.633, allocations: 0.9108 MB / 0.5328 GB, free: 1.629 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002108/0.6351, allocations: 1.152 MB / 0.5339 GB, free: 428 kB / 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.2447/0.8798, allocations: 7.1 MB / 0.5409 GB, free: 96.72 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.8799, allocations: 1.281 kB / 0.5409 GB, free: 96.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02114/0.901, allocations: 5.873 MB / 0.5466 GB, free: 96.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.9011, allocations: 5.281 kB / 0.5466 GB, free: 96.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.602e-05/0.9012, allocations: 5.719 kB / 0.5466 GB, free: 96.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01812/0.9193, allocations: 3.599 MB / 0.5501 GB, free: 96.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/0.9215, allocations: 382.5 kB / 0.5505 GB, free: 96.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03737/0.9589, allocations: 24.6 MB / 0.5745 GB, free: 82.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003279/0.9623, allocations: 142.6 kB / 0.5747 GB, free: 81.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004238/0.9628, allocations: 84.66 kB / 0.5747 GB, free: 81.95 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] = $START.transformer.H[1] transformer.H[3] = $START.transformer.H[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 180 * 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: 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 19,1 20,1 20,2 7,2 7,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005622/0.9633, allocations: 233.7 kB / 0.575 GB, free: 81.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000473/0.9638, allocations: 208.2 kB / 0.5752 GB, free: 81.72 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006459/0.9703, allocations: 3.236 MB / 0.5783 GB, free: 80.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/0.9704, allocations: 25.44 kB / 0.5783 GB, free: 80.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.9704, allocations: 7.516 kB / 0.5783 GB, free: 80.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/0.9704, allocations: 11.39 kB / 0.5784 GB, free: 80.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.9815, allocations: 6.107 MB / 0.5843 GB, free: 77.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.9816, allocations: 0 / 0.5843 GB, free: 77.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/0.9835, allocations: 438.4 kB / 0.5847 GB, free: 77.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004896/0.9884, allocations: 1.191 MB / 0.5859 GB, free: 77.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002618/0.9887, allocations: 72.11 kB / 0.586 GB, free: 77.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01508/1.004, allocations: 16.94 MB / 0.6025 GB, free: 62.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.004, allocations: 480 / 0.6025 GB, free: 62.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008812/1.013, allocations: 4.773 MB / 0.6072 GB, free: 58.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009593/1.014, allocations: 0.5247 MB / 0.6077 GB, free: 58.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/1.014, allocations: 59.42 kB / 0.6077 GB, free: 58.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/1.016, allocations: 154.4 kB / 0.6079 GB, free: 58.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004597/1.016, allocations: 208.2 kB / 0.6081 GB, free: 58.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/1.016, allocations: 71.45 kB / 0.6082 GB, free: 58.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001234/1.018, allocations: 1.009 MB / 0.6091 GB, free: 57.22 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.018, allocations: 0 / 0.6091 GB, free: 57.22 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002856/1.02, allocations: 0.7838 MB / 0.6099 GB, free: 56.46 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.Phi[1],transformer.Phi[2],transformer.Phi[3],transformer.core1.Hstat,transformer.core2.Hstat,transformer.core3.Hstat,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 194 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005692/1.021, allocations: 284.7 kB / 0.6102 GB, free: 56.22 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004774/1.026, allocations: 3.755 MB / 0.6138 GB, free: 52.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.026, allocations: 0 / 0.6138 GB, free: 52.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002688/1.028, allocations: 2.501 MB / 0.6163 GB, free: 49.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/1.03, allocations: 325.1 kB / 0.6166 GB, free: 49.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006261/1.036, allocations: 4.41 MB / 0.6209 GB, free: 45.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.037, allocations: 1.644 MB / 0.6225 GB, free: 44.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001179/1.038, allocations: 273.5 kB / 0.6228 GB, free: 44.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004764/1.039, allocations: 135 kB / 0.6229 GB, free: 44.13 MB / 394.7 MB Notification: Performance of SimCode: time 1.203e-06/1.039, allocations: 0 / 0.6229 GB, free: 44.13 MB / 394.7 MB Notification: Performance of Templates: time 0.06533/1.104, allocations: 43.53 MB / 0.6654 GB, free: 8.73 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)