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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001047/0.001047, allocations: 190.3 kB / 8.136 MB, free: 2.215 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.092/1.092, allocations: 194.2 MB / 202.8 MB, free: 8.762 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.001792/0.001792, allocations: 112.7 kB / 247.7 MB, free: 6.27 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.186e-06/8.236e-06, allocations: 4 kB / 297.6 MB, free: 8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07482/0.07485, allocations: 44.48 MB / 342.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2211/0.296, allocations: 105 MB / 447 MB, free: 6.543 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.2963, allocations: 80.09 kB / 447.1 MB, free: 6.504 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1566/0.4529, allocations: 52.61 MB / 499.7 MB, free: 9.215 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001978/0.4531, allocations: 55.92 kB / 499.8 MB, free: 9.16 MB / 378.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.006315/0.4595, allocations: 2.298 MB / 0.4903 GB, free: 6.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.4595, allocations: 8.031 kB / 0.4903 GB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008196/0.4603, allocations: 276.8 kB / 0.4906 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/0.4631, allocations: 1.366 MB / 0.4919 GB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.4633, allocations: 172.9 kB / 0.4921 GB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005629/0.4638, allocations: 155.9 kB / 0.4922 GB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003265/0.4671, allocations: 1.632 MB / 0.4938 GB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00323/0.4703, allocations: 1.802 MB / 0.4956 GB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.435e-05/0.4704, allocations: 4 kB / 0.4956 GB, free: 1.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.4706, allocations: 9.688 kB / 0.4956 GB, free: 1.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/0.4706, allocations: 44 kB / 0.4956 GB, free: 1.188 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.4833, allocations: 7.585 MB / 0.503 GB, free: 9.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.4852, allocations: 1.167 MB / 0.5042 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.4874, allocations: 1.3 MB / 0.5054 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.4876, allocations: 33.98 kB / 0.5055 GB, free: 6.828 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.4876, allocations: 64.55 kB / 0.5055 GB, free: 6.758 MB / 394.7 MB Notification: Performance of pre-optimization done (n=208): time 4.458e-06/0.4876, allocations: 0 / 0.5055 GB, free: 6.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=250): time 0.131/0.6187, allocations: 9.126 MB / 0.5144 GB, free: 133.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/0.6188, allocations: 393.9 kB / 0.5148 GB, free: 133.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.6205, allocations: 1.178 MB / 0.516 GB, free: 133 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003342/0.6209, allocations: 28.98 kB / 0.516 GB, free: 133 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.6211, allocations: 0.5756 MB / 0.5165 GB, free: 132.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005602/0.6217, allocations: 0.8076 MB / 0.5173 GB, free: 132.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.6219, allocations: 0 / 0.5173 GB, free: 132.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.622, allocations: 390.5 kB / 0.5177 GB, free: 132 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.6234, allocations: 0.8788 MB / 0.5186 GB, free: 132 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.6249, allocations: 1.096 MB / 0.5196 GB, free: 131.9 MB / 394.7 MB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02889/0.6538, allocations: 7.003 MB / 0.5265 GB, free: 131.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.6538, allocations: 3.438 kB / 0.5265 GB, free: 131.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02258/0.6764, allocations: 5.737 MB / 0.5321 GB, free: 131.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6765, allocations: 4.938 kB / 0.5321 GB, free: 131.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.803e-05/0.6765, allocations: 11.22 kB / 0.5321 GB, free: 131.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01991/0.6965, allocations: 3.604 MB / 0.5356 GB, free: 131.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/0.6985, allocations: 386 kB / 0.536 GB, free: 131.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03879/0.7373, allocations: 23.34 MB / 0.5588 GB, free: 116.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/0.7399, allocations: 97.11 kB / 0.5589 GB, free: 116.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/0.7402, allocations: 87.08 kB / 0.559 GB, free: 116.5 MB / 394.7 MB Warning: Assuming redundant initial conditions for the following 2 initial equations: 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.0005254/0.7407, allocations: 149.1 kB / 0.5591 GB, free: 116.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004619/0.7412, allocations: 201.8 kB / 0.5593 GB, free: 116.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0071/0.7483, allocations: 2.998 MB / 0.5622 GB, free: 115 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/0.7484, allocations: 30.56 kB / 0.5622 GB, free: 115 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.7484, allocations: 7.719 kB / 0.5623 GB, free: 115 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/0.7484, allocations: 20.17 kB / 0.5623 GB, free: 115 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/0.7604, allocations: 5.66 MB / 0.5678 GB, free: 112.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.7605, allocations: 9.672 kB / 0.5678 GB, free: 112.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/0.763, allocations: 436.8 kB / 0.5682 GB, free: 112.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005937/0.769, allocations: 1.193 MB / 0.5694 GB, free: 112.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004003/0.7694, allocations: 29.05 kB / 0.5694 GB, free: 112.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/0.7848, allocations: 15.87 MB / 0.5849 GB, free: 98.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.7848, allocations: 3.125 kB / 0.5849 GB, free: 98.75 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009618/0.7945, allocations: 4.594 MB / 0.5894 GB, free: 96.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.7955, allocations: 0.5248 MB / 0.5899 GB, free: 96.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003923/0.7959, allocations: 17.17 kB / 0.5899 GB, free: 96.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002058/0.798, allocations: 118.4 kB / 0.59 GB, free: 96.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003098/0.7983, allocations: 147.3 kB / 0.5902 GB, free: 96.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/0.7985, allocations: 70.58 kB / 0.5903 GB, free: 96.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001087/0.7996, allocations: 0.8871 MB / 0.5911 GB, free: 95.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002593/0.8022, allocations: 0.6645 MB / 0.5918 GB, free: 95.71 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.0005422/0.8028, allocations: 244.8 kB / 0.592 GB, free: 95.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004635/0.8074, allocations: 3.342 MB / 0.5953 GB, free: 92.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.8074, allocations: 3.719 kB / 0.5953 GB, free: 92.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002903/0.8103, allocations: 2.219 MB / 0.5974 GB, free: 90.42 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.8121, allocations: 230.9 kB / 0.5977 GB, free: 90.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008887/0.821, allocations: 4.393 MB / 0.6019 GB, free: 86.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/0.8226, allocations: 1.737 MB / 0.6036 GB, free: 84.95 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.8226, allocations: 0 / 0.6036 GB, free: 84.95 MB / 394.7 MB Notification: Performance of Templates: time 0.05604/0.8787, allocations: 41.99 MB / 0.6446 GB, free: 51.72 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)