Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) [: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 trunk/package.mo): time 0.001008/0.001008, allocations: 205.6 kB / 8.54 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.1/1.1, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009246/0.0009246, allocations: 97.27 kB / 286.3 MB, free: 5.215 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08883/0.08978, allocations: 56.91 MB / 343.2 MB, free: 8.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07657/0.1664, allocations: 51.48 MB / 394.7 MB, free: 5.051 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2213/0.3877, allocations: 114.7 MB / 0.4975 GB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.388, allocations: 83.52 kB / 0.4975 GB, free: 10.68 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.144/0.532, allocations: 55.88 MB / 0.5521 GB, free: 7.812 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.5321, allocations: 11.94 kB / 0.5521 GB, free: 7.801 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008092/0.5329, allocations: 316.7 kB / 0.5524 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.5351, allocations: 1.373 MB / 0.5538 GB, free: 6.062 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.5353, allocations: 168.9 kB / 0.5539 GB, free: 5.879 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004864/0.5358, allocations: 159.8 kB / 0.5541 GB, free: 5.723 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002857/0.5386, allocations: 1.628 MB / 0.5557 GB, free: 4.094 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/0.5415, allocations: 1.802 MB / 0.5574 GB, free: 2.199 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/0.5415, allocations: 1.219 kB / 0.5574 GB, free: 2.199 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.5417, allocations: 4 kB / 0.5574 GB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/0.5417, allocations: 52 kB / 0.5575 GB, free: 2.145 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.5524, allocations: 7.581 MB / 0.5649 GB, free: 10.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.554, allocations: 1.178 MB / 0.566 GB, free: 9.137 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/0.5559, allocations: 1.292 MB / 0.5673 GB, free: 7.836 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.666e-05/0.556, allocations: 29.92 kB / 0.5673 GB, free: 7.805 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.556, allocations: 64.55 kB / 0.5674 GB, free: 7.734 MB / 442.7 MB Notification: Performance of pre-optimization done (n=208): time 2.905e-06/0.556, allocations: 0 / 0.5674 GB, free: 7.734 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.1318/0.6879, allocations: 9.122 MB / 0.5763 GB, free: 142 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.688, allocations: 396.1 kB / 0.5767 GB, free: 141.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.6894, allocations: 1.188 MB / 0.5778 GB, free: 141.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002276/0.6897, allocations: 25.7 kB / 0.5779 GB, free: 141.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.6898, allocations: 0.5758 MB / 0.5784 GB, free: 141.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004227/0.6903, allocations: 0.803 MB / 0.5792 GB, free: 141 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.6904, allocations: 0 / 0.5792 GB, free: 141 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.6905, allocations: 394 kB / 0.5796 GB, free: 140.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.6918, allocations: 0.8739 MB / 0.5804 GB, free: 140.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.6931, allocations: 1.093 MB / 0.5815 GB, free: 140.5 MB / 442.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.02534/0.7185, allocations: 7.005 MB / 0.5884 GB, free: 140.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7185, allocations: 2.781 kB / 0.5884 GB, free: 140.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02046/0.7389, allocations: 5.734 MB / 0.594 GB, free: 139.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.739, allocations: 8.688 kB / 0.594 GB, free: 139.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.739, allocations: 7.469 kB / 0.594 GB, free: 139.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01845/0.7575, allocations: 3.602 MB / 0.5975 GB, free: 139.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.759, allocations: 388.2 kB / 0.5979 GB, free: 139.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03459/0.7936, allocations: 23.34 MB / 0.6207 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/0.7956, allocations: 99.44 kB / 0.6208 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/0.7958, allocations: 81.14 kB / 0.6208 GB, free: 125.4 MB / 442.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" ) "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" ) "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" ) "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.0004184/0.7963, allocations: 152.2 kB / 0.621 GB, free: 125.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000333/0.7966, allocations: 197.3 kB / 0.6212 GB, free: 125.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005975/0.8026, allocations: 3.01 MB / 0.6241 GB, free: 124 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.887e-05/0.8026, allocations: 25.88 kB / 0.6241 GB, free: 124 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.8026, allocations: 3.312 kB / 0.6241 GB, free: 124 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/0.8027, allocations: 14.73 kB / 0.6241 GB, free: 124 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.8136, allocations: 5.686 MB / 0.6297 GB, free: 121.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.8136, allocations: 1.344 kB / 0.6297 GB, free: 121.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/0.8157, allocations: 443.4 kB / 0.6301 GB, free: 121.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005416/0.8212, allocations: 1.183 MB / 0.6313 GB, free: 121.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001855/0.8214, allocations: 28.92 kB / 0.6313 GB, free: 121.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/0.8355, allocations: 15.87 MB / 0.6468 GB, free: 107.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8355, allocations: 0 / 0.6468 GB, free: 107.7 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008628/0.8442, allocations: 4.605 MB / 0.6513 GB, free: 105.5 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01015/0.8543, allocations: 6.27 MB / 0.6574 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000787/0.8551, allocations: 0.5257 MB / 0.6579 GB, free: 101.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003428/0.8555, allocations: 15.84 kB / 0.658 GB, free: 101.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001873/0.8574, allocations: 118 kB / 0.6581 GB, free: 101.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/0.8577, allocations: 153.5 kB / 0.6582 GB, free: 101.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/0.8578, allocations: 75.16 kB / 0.6583 GB, free: 101.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0009982/0.8588, allocations: 0.8918 MB / 0.6592 GB, free: 101.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00293/0.8618, allocations: 0.6694 MB / 0.6598 GB, free: 101.4 MB / 442.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.0004642/0.8622, allocations: 252.7 kB / 0.66 GB, free: 101.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004066/0.8663, allocations: 3.339 MB / 0.6633 GB, free: 99.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8663, allocations: 3.75 kB / 0.6633 GB, free: 99.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002476/0.8688, allocations: 2.218 MB / 0.6655 GB, free: 97.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.87, allocations: 235.3 kB / 0.6657 GB, free: 97.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006946/0.8769, allocations: 4.417 MB / 0.67 GB, free: 95.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/0.8784, allocations: 1.799 MB / 0.6718 GB, free: 95.09 MB / 442.7 MB Notification: Performance of SimCode: time 2.9e-07/0.8784, allocations: 4 kB / 0.6718 GB, free: 95.08 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)