Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.4 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 88.44 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005183/0.0005183, allocations: 20 kB / 327.1 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3234, allocations: 47.57 MB / 374.6 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1788/0.5022, allocations: 111.1 MB / 485.8 MB, free: 1.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/0.5026, allocations: 87.95 kB / 485.9 MB, free: 1.484 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4978/1, allocations: 53.21 MB / 0.5264 GB, free: 91.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.066e-06/1, allocations: 0 / 0.5264 GB, free: 91.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001902/1.001, allocations: 63.81 kB / 0.5265 GB, free: 91.1 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.01108/1.012, allocations: 2.604 MB / 0.529 GB, free: 88.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.012, allocations: 12.03 kB / 0.5291 GB, free: 88.42 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001096/1.013, allocations: 278.4 kB / 0.5293 GB, free: 88.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000889/1.014, allocations: 276.8 kB / 0.5296 GB, free: 87.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004124/1.018, allocations: 1.362 MB / 0.5309 GB, free: 86.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/1.018, allocations: 236.9 kB / 0.5311 GB, free: 86.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001119/1.019, allocations: 231.8 kB / 0.5314 GB, free: 85.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00661/1.026, allocations: 2.184 MB / 0.5335 GB, free: 83.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.25e-05/1.026, allocations: 0 / 0.5335 GB, free: 83.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003047/1.026, allocations: 80 kB / 0.5336 GB, free: 83.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/1.027, allocations: 51.94 kB / 0.5336 GB, free: 83.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007411/1.034, allocations: 1.935 MB / 0.5355 GB, free: 81.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0216/1.056, allocations: 7.915 MB / 0.5432 GB, free: 73.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005957/1.062, allocations: 2.093 MB / 0.5453 GB, free: 71.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/1.062, allocations: 25.98 kB / 0.5453 GB, free: 71.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/1.062, allocations: 64.5 kB / 0.5454 GB, free: 71.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=208): time 4.729e-06/1.062, allocations: 4 kB / 0.5454 GB, free: 71.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=250): time 0.09227/1.154, allocations: 14.41 MB / 0.5594 GB, free: 56.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/1.154, allocations: 397.8 kB / 0.5598 GB, free: 56.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00294/1.157, allocations: 1.338 MB / 0.5611 GB, free: 54.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006187/1.158, allocations: 73.7 kB / 0.5612 GB, free: 54.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005265/1.159, allocations: 0.7502 MB / 0.5619 GB, free: 54.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009637/1.16, allocations: 0.8315 MB / 0.5627 GB, free: 53.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002887/1.16, allocations: 52 kB / 0.5628 GB, free: 53.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/1.16, allocations: 403.5 kB / 0.5632 GB, free: 52.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003614/1.164, allocations: 1 MB / 0.5642 GB, free: 51.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00379/1.167, allocations: 1.242 MB / 0.5654 GB, free: 50.45 MB / 378.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.04902/1.217, allocations: 7 MB / 0.5722 GB, free: 43.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/1.217, allocations: 0 / 0.5722 GB, free: 43.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00976/1.226, allocations: 2.84 MB / 0.575 GB, free: 40.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/1.226, allocations: 4 kB / 0.575 GB, free: 40.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.207e-05/1.226, allocations: 4 kB / 0.575 GB, free: 40.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/1.228, allocations: 364.8 kB / 0.5753 GB, free: 40.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005236/1.233, allocations: 0.5423 MB / 0.5759 GB, free: 39.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/1.244, allocations: 10.11 MB / 0.5857 GB, free: 28.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003824/1.248, allocations: 144 kB / 0.5859 GB, free: 28.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003672/1.248, allocations: 87.91 kB / 0.586 GB, free: 28.41 MB / 378.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] = transformer.HStart[1] transformer.H[3] = transformer.HStart[3]. 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (253): * Single equations (assignments): 241 * 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.001502/1.25, allocations: 466.2 kB / 0.5864 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007048/1.25, allocations: 213.5 kB / 0.5866 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/1.264, allocations: 3.438 MB / 0.59 GB, free: 24.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.513e-05/1.264, allocations: 24 kB / 0.59 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/1.264, allocations: 4 kB / 0.59 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-05/1.264, allocations: 27.89 kB / 0.59 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02319/1.287, allocations: 6.325 MB / 0.5962 GB, free: 17.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.884e-05/1.287, allocations: 0 / 0.5962 GB, free: 17.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004256/1.292, allocations: 431.4 kB / 0.5966 GB, free: 17.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01061/1.302, allocations: 1.249 MB / 0.5978 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006337/1.303, allocations: 67.91 kB / 0.5979 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03084/1.334, allocations: 17.68 MB / 0.6152 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.334, allocations: 3.984 kB / 0.6152 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0234/1.357, allocations: 5.136 MB / 0.6202 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002199/1.36, allocations: 0.5334 MB / 0.6207 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008143/1.36, allocations: 56 kB / 0.6208 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003959/1.364, allocations: 151.9 kB / 0.6209 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001009/1.365, allocations: 197.8 kB / 0.6211 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002824/1.366, allocations: 76.22 kB / 0.6212 GB, free: 6.719 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002756/1.369, allocations: 1.029 MB / 0.6222 GB, free: 5.691 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.096e-06/1.369, allocations: 0 / 0.6222 GB, free: 5.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004787/1.373, allocations: 0.7146 MB / 0.6229 GB, free: 4.977 MB / 394.7 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.02486/1.398, allocations: 6.09 MB / 0.6288 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01163/1.41, allocations: 3.396 MB / 0.6321 GB, free: 11.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/1.41, allocations: 4.375 kB / 0.6321 GB, free: 11.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007691/1.418, allocations: 2.632 MB / 0.6347 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/1.421, allocations: 324 kB / 0.635 GB, free: 8.152 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3014/1.723, allocations: 8.288 MB / 0.6431 GB, free: 111.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/1.724, allocations: 1.607 MB / 0.6447 GB, free: 110.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00253/1.727, allocations: 0.9044 MB / 0.6456 GB, free: 110.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/1.727, allocations: 0 / 0.6456 GB, free: 110.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.906/5.633, allocations: 99.58 MB / 0.7428 GB, free: 37.93 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)