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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.5 MB / 230.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008744/0.0008743, allocations: 102.3 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.231e-05/2.246e-05, allocations: 4 kB / 337.1 MB, free: 9.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09659, allocations: 50.43 MB / 387.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3649/0.4615, allocations: 113.9 MB / 0.4897 GB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.4618, allocations: 83.95 kB / 0.4898 GB, free: 12.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1502/0.6121, allocations: 53.6 MB / 0.5422 GB, free: 6.809 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6121, allocations: 4 kB / 0.5422 GB, free: 6.805 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001441/0.6122, allocations: 52 kB / 0.5422 GB, free: 6.754 MB / 426.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.005977/0.6182, allocations: 2.247 MB / 0.5444 GB, free: 4.449 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.6183, allocations: 8.031 kB / 0.5444 GB, free: 4.441 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.6193, allocations: 280.7 kB / 0.5447 GB, free: 4.164 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.6226, allocations: 1.346 MB / 0.546 GB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.6229, allocations: 176.9 kB / 0.5462 GB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007588/0.6236, allocations: 155.8 kB / 0.5463 GB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00343/0.6271, allocations: 1.628 MB / 0.5479 GB, free: 0.793 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2314/0.8585, allocations: 1.782 MB / 0.5496 GB, free: 105.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.127e-05/0.8586, allocations: 5.844 kB / 0.5496 GB, free: 105.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.8587, allocations: 2.906 kB / 0.5497 GB, free: 105.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.8588, allocations: 47.03 kB / 0.5497 GB, free: 105.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/0.8729, allocations: 7.558 MB / 0.5571 GB, free: 103.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/0.8756, allocations: 1.857 MB / 0.5589 GB, free: 103.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/0.8778, allocations: 1.273 MB / 0.5601 GB, free: 103.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.8779, allocations: 28.75 kB / 0.5602 GB, free: 103.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.529e-05/0.878, allocations: 68.55 kB / 0.5602 GB, free: 103.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=208): time 3.968e-06/0.878, allocations: 0 / 0.5602 GB, free: 103.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=250): time 0.03017/0.9082, allocations: 9.096 MB / 0.5691 GB, free: 101.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.9083, allocations: 389.8 kB / 0.5695 GB, free: 101.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/0.9105, allocations: 1.175 MB / 0.5706 GB, free: 101.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005184/0.9111, allocations: 31.61 kB / 0.5707 GB, free: 101.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005521/0.9116, allocations: 0.8056 MB / 0.5714 GB, free: 101.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007802/0.9124, allocations: 0.8046 MB / 0.5722 GB, free: 100.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.9125, allocations: 0 / 0.5722 GB, free: 100.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.9127, allocations: 403.7 kB / 0.5726 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.9141, allocations: 0.8632 MB / 0.5735 GB, free: 99.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.9155, allocations: 1.086 MB / 0.5745 GB, free: 99.28 MB / 426.7 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.02515/0.9407, allocations: 6.96 MB / 0.5813 GB, free: 97.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.9407, allocations: 0 / 0.5813 GB, free: 97.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01936/0.9601, allocations: 5.636 MB / 0.5868 GB, free: 95.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.9601, allocations: 7.609 kB / 0.5868 GB, free: 95.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.06e-05/0.9602, allocations: 8.625 kB / 0.5868 GB, free: 95.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01729/0.9775, allocations: 3.582 MB / 0.5903 GB, free: 94.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/0.9793, allocations: 373.8 kB / 0.5907 GB, free: 94.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03514/1.014, allocations: 23.99 MB / 0.6141 GB, free: 77.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/1.017, allocations: 98 kB / 0.6142 GB, free: 77.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/1.017, allocations: 84.33 kB / 0.6143 GB, free: 77.7 MB / 426.7 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" ) "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.0005393/1.018, allocations: 160.3 kB / 0.6144 GB, free: 77.58 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006964/1.025, allocations: 3.062 MB / 0.6174 GB, free: 76.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007427/1.026, allocations: 199.4 kB / 0.6176 GB, free: 76.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006068/1.032, allocations: 2.987 MB / 0.6205 GB, free: 73.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/1.032, allocations: 24 kB / 0.6206 GB, free: 73.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.032, allocations: 4 kB / 0.6206 GB, free: 73.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.772e-05/1.032, allocations: 15.19 kB / 0.6206 GB, free: 73.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/1.044, allocations: 5.639 MB / 0.6261 GB, free: 69.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/1.044, allocations: 3.938 kB / 0.6261 GB, free: 69.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002089/1.046, allocations: 436.4 kB / 0.6265 GB, free: 68.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005183/1.051, allocations: 1.179 MB / 0.6277 GB, free: 67.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005835/1.052, allocations: 27.64 kB / 0.6277 GB, free: 67.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/1.066, allocations: 16.43 MB / 0.6437 GB, free: 51.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.066, allocations: 0 / 0.6437 GB, free: 51.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008911/1.075, allocations: 4.546 MB / 0.6482 GB, free: 47.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.077, allocations: 0.5187 MB / 0.6487 GB, free: 46.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003619/1.077, allocations: 19.61 kB / 0.6487 GB, free: 46.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001974/1.079, allocations: 113.9 kB / 0.6488 GB, free: 46.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005462/1.08, allocations: 197.4 kB / 0.649 GB, free: 46.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/1.08, allocations: 71.84 kB / 0.6491 GB, free: 46.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001252/1.081, allocations: 0.8855 MB / 0.6499 GB, free: 45.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.9e-07/1.081, allocations: 0 / 0.6499 GB, free: 45.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003398/1.085, allocations: 0.6817 MB / 0.6506 GB, free: 44.78 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.008833/1.093, allocations: 5.444 MB / 0.6559 GB, free: 39.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005065/1.098, allocations: 3.561 MB / 0.6594 GB, free: 36.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.099, allocations: 0 / 0.6594 GB, free: 36.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00288/1.101, allocations: 2.368 MB / 0.6617 GB, free: 33.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/1.103, allocations: 226.2 kB / 0.6619 GB, free: 33.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009484/1.113, allocations: 4.653 MB / 0.6665 GB, free: 29.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.114, allocations: 1.634 MB / 0.6681 GB, free: 28.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001103/1.115, allocations: 257.6 kB / 0.6683 GB, free: 27.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009989/1.116, allocations: 0.872 MB / 0.6692 GB, free: 27.16 MB / 426.7 MB Notification: Performance of SimCode: time 8.11e-07/1.116, allocations: 0 / 0.6692 GB, free: 27.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3275/1.444, allocations: 55.83 MB / 0.7237 GB, free: 108.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/1.444, allocations: 180.1 kB / 0.7238 GB, free: 108 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.968/5.412, allocations: 0 / 0.7238 GB, free: 108 MB / 442.7 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)