Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008874/0.0008875, allocations: 91.02 kB / 16.31 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 179.3 kB / 17.21 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 241.2 MB, free: 5.434 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002758/0.0002759, allocations: 7.984 kB / 300.9 MB, free: 6.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1059, allocations: 50.43 MB / 351.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01014/0.1161, allocations: 9.269 MB / 360.6 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.128, allocations: 6.067 MB / 366.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002174/0.1302, allocations: 39.81 kB / 366.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.1317, allocations: 365.4 kB / 367.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003049/0.1347, allocations: 0.7372 MB / 367.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005261/0.14, allocations: 1.823 MB / 369.6 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005218/0.1453, allocations: 3.137 MB / 372.8 MB, free: 6.098 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.1467, allocations: 0.5925 MB / 373.4 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/0.1487, allocations: 1.035 MB / 374.4 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002136/0.1509, allocations: 1.253 MB / 375.7 MB, free: 3.184 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004258/0.1513, allocations: 148 kB / 375.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.1524, allocations: 391.6 kB / 376.2 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005441/0.153, allocations: 0.5331 MB / 376.7 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00075/0.1537, allocations: 484.3 kB / 377.2 MB, free: 1.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.1568, allocations: 2.987 MB / 380.2 MB, free: 14.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.1569, allocations: 3.938 kB / 380.2 MB, free: 14.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1569, allocations: 0 / 380.2 MB, free: 14.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.382e-05/0.157, allocations: 0 / 380.2 MB, free: 14.64 MB / 318.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.007135/0.1641, allocations: 2.662 MB / 382.8 MB, free: 11.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.1642, allocations: 12.03 kB / 382.9 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006881/0.1649, allocations: 278.3 kB / 383.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005679/0.1654, allocations: 276.7 kB / 383.4 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.1677, allocations: 1.299 MB / 384.7 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.1679, allocations: 244.8 kB / 384.9 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005245/0.1685, allocations: 243.9 kB / 385.2 MB, free: 9.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004123/0.1726, allocations: 2.163 MB / 387.3 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.46e-05/0.1727, allocations: 11.84 kB / 387.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/0.1728, allocations: 84 kB / 387.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.1729, allocations: 44 kB / 387.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004123/0.177, allocations: 1.947 MB / 389.4 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.1901, allocations: 7.88 MB / 397.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00358/0.1937, allocations: 2.1 MB / 399.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/0.196, allocations: 1.239 MB / 400.6 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.1962, allocations: 33.92 kB / 400.7 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.712e-05/0.1963, allocations: 64.56 kB / 400.7 MB, free: 9.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=208): time 4.147e-06/0.1963, allocations: 0 / 400.7 MB, free: 9.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=250): time 0.05069/0.247, allocations: 14.78 MB / 415.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002941/0.2473, allocations: 393.8 kB / 415.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/0.25, allocations: 1.498 MB / 417.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005406/0.2506, allocations: 73.7 kB / 417.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009291/0.2516, allocations: 0.8158 MB / 418.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009817/0.2525, allocations: 0.8315 MB / 419.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.2527, allocations: 56 kB / 419.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002738/0.253, allocations: 390.8 kB / 419.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002248/0.2552, allocations: 1.016 MB / 420.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00266/0.2579, allocations: 1.28 MB / 421.8 MB, free: 4.09 MB / 350.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.2309/0.4888, allocations: 7.466 MB / 429.3 MB, free: 62.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.4888, allocations: 1.875 kB / 429.3 MB, free: 62.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006323/0.4952, allocations: 2.962 MB / 432.3 MB, free: 62.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.4952, allocations: 9.938 kB / 432.3 MB, free: 62.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-05/0.4953, allocations: 6.438 kB / 432.3 MB, free: 62.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.4963, allocations: 367.7 kB / 432.7 MB, free: 61.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/0.499, allocations: 0.5429 MB / 433.2 MB, free: 61.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007667/0.5067, allocations: 10.01 MB / 443.2 MB, free: 53.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/0.5091, allocations: 144.7 kB / 443.4 MB, free: 53.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004301/0.5096, allocations: 87.16 kB / 443.4 MB, free: 53.95 MB / 350.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] = transformer.HStart[1] transformer.H[3] = transformer.HStart[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (256): * Single equations (assignments): 244 * 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: 6 * 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: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001262/0.5109, allocations: 473.6 kB / 443.9 MB, free: 53.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005437/0.5114, allocations: 205 kB / 444.1 MB, free: 53.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007952/0.5194, allocations: 3.541 MB / 447.6 MB, free: 52.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/0.5195, allocations: 27.56 kB / 447.7 MB, free: 52.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.5195, allocations: 3.938 kB / 447.7 MB, free: 52.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.472e-05/0.5195, allocations: 18.81 kB / 447.7 MB, free: 52.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.5319, allocations: 6.263 MB / 454 MB, free: 49.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.5319, allocations: 0 / 454 MB, free: 49.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/0.534, allocations: 433 kB / 454.4 MB, free: 49.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005424/0.5394, allocations: 1.265 MB / 455.6 MB, free: 49.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003916/0.5398, allocations: 59.22 kB / 455.7 MB, free: 49.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01636/0.5562, allocations: 17.41 MB / 473.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5562, allocations: 400 / 473.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00955/0.5658, allocations: 5.009 MB / 478.1 MB, free: 26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.5669, allocations: 0.5268 MB / 478.6 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003486/0.5672, allocations: 59.98 kB / 478.7 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.5689, allocations: 155.9 kB / 478.9 MB, free: 25.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004616/0.5694, allocations: 205.7 kB / 479.1 MB, free: 25.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.5695, allocations: 75.98 kB / 479.1 MB, free: 24.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001222/0.5708, allocations: 1.029 MB / 480.2 MB, free: 23.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5708, allocations: 0 / 480.2 MB, free: 23.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002711/0.5735, allocations: 0.6951 MB / 480.9 MB, free: 23.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.core1.Hstat,transformer.core1.B,transformer.core2.Hstat,transformer.core2.B,transformer.core3.Hstat,transformer.core3.B,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 193 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.009752/0.5833, allocations: 5.702 MB / 486.6 MB, free: 17.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005463/0.5888, allocations: 3.423 MB / 490 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.5888, allocations: 0 / 490 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003358/0.5922, allocations: 2.63 MB / 492.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.5943, allocations: 382.5 kB / 493 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.028/0.6223, allocations: 15.94 MB / 0.497 GB, free: 10 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/0.6237, allocations: 1.561 MB / 0.4985 GB, free: 8.406 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001564/0.6253, allocations: 303.8 kB / 0.4988 GB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/0.6267, allocations: 0.9053 MB / 0.4997 GB, free: 7.203 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6267, allocations: 0 / 0.4997 GB, free: 7.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09049/0.7172, allocations: 53.24 MB / 0.5517 GB, free: 2.445 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.7174, allocations: 254.9 kB / 0.5519 GB, free: 2.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.504/4.222, allocations: 0 / 0.5519 GB, free: 2.105 MB / 414.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)