Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 180 kB / 8.477 MB, free: 1.883 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.03/1.03, allocations: 205.2 MB / 214.1 MB, free: 5.172 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008175/0.0008175, allocations: 90.23 kB / 262.1 MB, free: 5.211 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1453/0.1461, allocations: 52.97 MB / 315.1 MB, free: 41.42 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06032/0.2065, allocations: 47.57 MB / 362.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2201/0.4265, allocations: 110.3 MB / 472.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.4268, allocations: 86.25 kB / 473 MB, free: 14.64 MB / 330.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.1475/0.5743, allocations: 54.84 MB / 0.5155 GB, free: 15.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.5743, allocations: 12 kB / 0.5155 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006927/0.575, allocations: 276.7 kB / 0.5158 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/0.5774, allocations: 1.354 MB / 0.5171 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.5776, allocations: 172.9 kB / 0.5173 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005045/0.5781, allocations: 167.8 kB / 0.5174 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002918/0.581, allocations: 1.632 MB / 0.519 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/0.5839, allocations: 1.798 MB / 0.5208 GB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/0.584, allocations: 0 / 0.5208 GB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.5841, allocations: 4 kB / 0.5208 GB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.5842, allocations: 47.98 kB / 0.5208 GB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.5954, allocations: 7.586 MB / 0.5282 GB, free: 1.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.5972, allocations: 1.168 MB / 0.5294 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.5991, allocations: 1.304 MB / 0.5306 GB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.5992, allocations: 29.98 kB / 0.5307 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.5993, allocations: 64.56 kB / 0.5307 GB, free: 15.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=208): time 3.627e-06/0.5993, allocations: 0 / 0.5307 GB, free: 15.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=250): time 0.02887/0.6282, allocations: 9.13 MB / 0.5396 GB, free: 5.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.6283, allocations: 389.8 kB / 0.54 GB, free: 5.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.63, allocations: 1.178 MB / 0.5412 GB, free: 4.312 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.6301, allocations: 25.7 kB / 0.5412 GB, free: 4.281 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.6305, allocations: 0.5731 MB / 0.5417 GB, free: 3.699 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006294/0.6311, allocations: 0.8042 MB / 0.5425 GB, free: 2.883 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.6312, allocations: 0 / 0.5425 GB, free: 2.883 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.6314, allocations: 398.6 kB / 0.5429 GB, free: 2.488 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.6329, allocations: 0.8759 MB / 0.5438 GB, free: 1.609 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.6345, allocations: 1.089 MB / 0.5448 GB, free: 476 kB / 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.02783/0.6624, allocations: 7.019 MB / 0.5517 GB, free: 9.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.6624, allocations: 0 / 0.5517 GB, free: 9.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.0222/0.6846, allocations: 5.741 MB / 0.5573 GB, free: 3.562 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.6846, allocations: 8 kB / 0.5573 GB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/0.6847, allocations: 4 kB / 0.5573 GB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01883/0.7035, allocations: 3.607 MB / 0.5608 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/0.7054, allocations: 379.5 kB / 0.5612 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1348/0.8402, allocations: 23.35 MB / 0.584 GB, free: 152.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/0.8425, allocations: 101.1 kB / 0.5841 GB, free: 152.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/0.8427, allocations: 85.03 kB / 0.5842 GB, free: 152.9 MB / 426.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.0004266/0.8431, allocations: 151 kB / 0.5843 GB, free: 152.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003501/0.8434, allocations: 195.7 kB / 0.5845 GB, free: 152.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005958/0.8494, allocations: 2.999 MB / 0.5874 GB, free: 152.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.8494, allocations: 27.75 kB / 0.5875 GB, free: 152.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.8495, allocations: 4.844 kB / 0.5875 GB, free: 152.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.8495, allocations: 17.3 kB / 0.5875 GB, free: 152.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.8596, allocations: 5.675 MB / 0.593 GB, free: 152.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.8596, allocations: 3.875 kB / 0.593 GB, free: 152.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002024/0.8617, allocations: 435.5 kB / 0.5934 GB, free: 152.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005107/0.8668, allocations: 1.179 MB / 0.5946 GB, free: 152 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.867, allocations: 34.39 kB / 0.5946 GB, free: 152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01409/0.8811, allocations: 15.86 MB / 0.6101 GB, free: 140.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.8811, allocations: 3.281 kB / 0.6101 GB, free: 140.9 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008483/0.8896, allocations: 4.601 MB / 0.6146 GB, free: 139.7 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01035/0.9, allocations: 6.28 MB / 0.6207 GB, free: 136.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009462/0.9009, allocations: 0.5226 MB / 0.6213 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004875/0.9014, allocations: 19.94 kB / 0.6213 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/0.9035, allocations: 116.7 kB / 0.6214 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/0.9038, allocations: 151.9 kB / 0.6215 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/0.904, allocations: 70.73 kB / 0.6216 GB, free: 136.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001111/0.9051, allocations: 0.8871 MB / 0.6225 GB, free: 135.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003124/0.9082, allocations: 0.6712 MB / 0.6231 GB, free: 135.6 MB / 426.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.0005391/0.9087, allocations: 253.5 kB / 0.6234 GB, free: 135.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004268/0.913, allocations: 3.339 MB / 0.6266 GB, free: 133.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.913, allocations: 3.906 kB / 0.6266 GB, free: 133.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002565/0.9156, allocations: 2.222 MB / 0.6288 GB, free: 132.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.9169, allocations: 223.7 kB / 0.629 GB, free: 132.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007695/0.9246, allocations: 4.425 MB / 0.6333 GB, free: 130.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/0.926, allocations: 1.802 MB / 0.6351 GB, free: 129.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/0.9261, allocations: 4 kB / 0.6351 GB, free: 129.7 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)