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.0009824/0.0009825, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.317/1.317, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001591/0.001591, allocations: 118.3 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.608e-05/1.609e-05, allocations: 8 kB / 298.1 MB, free: 8.23 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08666/0.0867, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2921/0.3788, allocations: 105 MB / 447.6 MB, free: 7.168 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.3791, allocations: 84.58 kB / 447.7 MB, free: 7.125 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1446/0.5238, allocations: 52.72 MB / 0.4887 GB, free: 9.582 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.5238, allocations: 0 / 0.4887 GB, free: 9.582 MB / 379.1 MB Notification: Performance of Transformations before backend: time 0.0001637/0.524, allocations: 59.88 kB / 0.4887 GB, free: 9.523 MB / 379.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.006056/0.53, allocations: 2.235 MB / 0.4909 GB, free: 7.23 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5301, allocations: 8.031 kB / 0.4909 GB, free: 7.223 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.5313, allocations: 280.8 kB / 0.4912 GB, free: 6.945 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/0.5346, allocations: 1.346 MB / 0.4925 GB, free: 5.547 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002707/0.5349, allocations: 176.9 kB / 0.4927 GB, free: 5.355 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008638/0.5358, allocations: 151.8 kB / 0.4928 GB, free: 5.207 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0035/0.5393, allocations: 1.632 MB / 0.4944 GB, free: 3.574 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003375/0.5427, allocations: 1.798 MB / 0.4962 GB, free: 1.688 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.5427, allocations: 0 / 0.4962 GB, free: 1.688 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.5429, allocations: 8 kB / 0.4962 GB, free: 1.68 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-05/0.5429, allocations: 48 kB / 0.4962 GB, free: 1.633 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/0.5552, allocations: 7.563 MB / 0.5036 GB, free: 9.848 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/0.5576, allocations: 1.86 MB / 0.5054 GB, free: 7.953 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001788/0.5594, allocations: 1.265 MB / 0.5067 GB, free: 6.68 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.5595, allocations: 29.98 kB / 0.5067 GB, free: 6.648 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/0.5596, allocations: 72.44 kB / 0.5068 GB, free: 6.57 MB / 395.1 MB Notification: Performance of pre-optimization done (n=208): time 5.059e-06/0.5596, allocations: 0 / 0.5068 GB, free: 6.57 MB / 395.1 MB Notification: Performance of matching and sorting (n=250): time 0.3043/0.8639, allocations: 9.091 MB / 0.5156 GB, free: 87.41 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.893e-05/0.8641, allocations: 398.1 kB / 0.516 GB, free: 86.97 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002364/0.8664, allocations: 1.172 MB / 0.5172 GB, free: 86.82 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004044/0.8669, allocations: 29.67 kB / 0.5172 GB, free: 86.79 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005632/0.8674, allocations: 0.808 MB / 0.518 GB, free: 86.54 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007264/0.8682, allocations: 0.8013 MB / 0.5188 GB, free: 86.11 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002643/0.8685, allocations: 0 / 0.5188 GB, free: 86.11 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.8686, allocations: 398.3 kB / 0.5191 GB, free: 85.8 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.87, allocations: 0.8731 MB / 0.52 GB, free: 85.79 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.8716, allocations: 1.086 MB / 0.5211 GB, free: 85.64 MB / 395.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.02566/0.8972, allocations: 6.956 MB / 0.5278 GB, free: 85.34 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.8973, allocations: 0 / 0.5278 GB, free: 85.34 MB / 395.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.0202/0.9175, allocations: 5.649 MB / 0.5334 GB, free: 84.96 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.9176, allocations: 6.188 kB / 0.5334 GB, free: 84.96 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.983e-05/0.9176, allocations: 2.969 kB / 0.5334 GB, free: 84.96 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01811/0.9357, allocations: 3.584 MB / 0.5369 GB, free: 84.72 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/0.9378, allocations: 378.1 kB / 0.5372 GB, free: 84.71 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03786/0.9756, allocations: 23.98 MB / 0.5607 GB, free: 69.8 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002737/0.9784, allocations: 91.45 kB / 0.5607 GB, free: 69.8 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005853/0.979, allocations: 84.52 kB / 0.5608 GB, free: 69.78 MB / 395.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] = $START.transformer.H[1] transformer.H[3] = $START.transformer.H[3]. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core2.Hstat:VARIABLE(unit = "A/m" protected = true ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core1.Hstat:VARIABLE(unit = "A/m" protected = true ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformer.core3.Hstat:VARIABLE(unit = "A/m" protected = true ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real 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.0009498/0.98, allocations: 161.6 kB / 0.561 GB, free: 69.66 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008925/0.9809, allocations: 199 kB / 0.5612 GB, free: 69.56 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007064/0.988, allocations: 2.985 MB / 0.5641 GB, free: 68.32 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.988, allocations: 27.91 kB / 0.5641 GB, free: 68.32 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.276e-05/0.988, allocations: 3.156 kB / 0.5641 GB, free: 68.32 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-05/0.9881, allocations: 12.14 kB / 0.5641 GB, free: 68.32 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/1.001, allocations: 5.652 MB / 0.5696 GB, free: 65.91 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/1.001, allocations: 3.969 kB / 0.5696 GB, free: 65.91 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002037/1.003, allocations: 432.6 kB / 0.5701 GB, free: 65.89 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005274/1.008, allocations: 1.184 MB / 0.5712 GB, free: 65.57 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003099/1.009, allocations: 28.89 kB / 0.5712 GB, free: 65.56 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01521/1.024, allocations: 16.44 MB / 0.5873 GB, free: 51.5 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/1.024, allocations: 0 / 0.5873 GB, free: 51.5 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/1.034, allocations: 4.535 MB / 0.5917 GB, free: 49.27 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.036, allocations: 0.5294 MB / 0.5922 GB, free: 48.89 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007015/1.036, allocations: 15.17 kB / 0.5923 GB, free: 48.89 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002435/1.039, allocations: 110.3 kB / 0.5924 GB, free: 48.89 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006464/1.04, allocations: 199.7 kB / 0.5926 GB, free: 48.84 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000233/1.04, allocations: 71.61 kB / 0.5926 GB, free: 48.83 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.00178/1.042, allocations: 0.883 MB / 0.5935 GB, free: 48.42 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.042, allocations: 3.125 kB / 0.5935 GB, free: 48.42 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.004514/1.046, allocations: 0.6768 MB / 0.5941 GB, free: 48.42 MB / 395.1 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.0009238/1.047, allocations: 251 kB / 0.5944 GB, free: 48.29 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005667/1.053, allocations: 3.552 MB / 0.5979 GB, free: 46.15 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.053, allocations: 3.906 kB / 0.5979 GB, free: 46.15 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002986/1.056, allocations: 2.378 MB / 0.6002 GB, free: 44.58 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/1.058, allocations: 232.1 kB / 0.6004 GB, free: 44.5 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008359/1.066, allocations: 4.273 MB / 0.6046 GB, free: 42.41 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/1.068, allocations: 1.63 MB / 0.6062 GB, free: 41.62 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.001564/1.069, allocations: 260.3 kB / 0.6064 GB, free: 41.58 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006109/1.07, allocations: 136.8 kB / 0.6065 GB, free: 41.56 MB / 395.1 MB Notification: Performance of SimCode: time 7.92e-07/1.07, allocations: 0 / 0.6065 GB, free: 41.56 MB / 395.1 MB Notification: Performance of Templates: time 0.0589/1.129, allocations: 38.91 MB / 0.6445 GB, free: 14.39 MB / 395.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)