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.002206/0.002206, allocations: 177.8 kB / 8.36 MB, free: 0.7148 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.99/1.99, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001126, allocations: 92.64 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.233e-05/2.247e-05, allocations: 4 kB / 314.9 MB, free: 9.047 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3287, allocations: 47.57 MB / 362.4 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.5057, allocations: 110.4 MB / 472.8 MB, free: 7.816 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/0.506, allocations: 86.5 kB / 472.9 MB, free: 7.734 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5084/1.014, allocations: 52.59 MB / 0.5132 GB, free: 101.4 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.904e-06/1.014, allocations: 0 / 0.5132 GB, free: 101.4 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002111/1.015, allocations: 58.25 kB / 0.5132 GB, free: 101.3 MB / 395.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.009414/1.024, allocations: 2.237 MB / 0.5154 GB, free: 100.3 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/1.024, allocations: 12.86 kB / 0.5154 GB, free: 100.3 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/1.026, allocations: 273.6 kB / 0.5157 GB, free: 100.2 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004259/1.03, allocations: 1.357 MB / 0.517 GB, free: 99.8 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002692/1.03, allocations: 171.1 kB / 0.5172 GB, free: 99.7 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001144/1.031, allocations: 156 kB / 0.5173 GB, free: 99.7 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005494/1.037, allocations: 1.629 MB / 0.5189 GB, free: 99.69 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004961/1.042, allocations: 1.793 MB / 0.5207 GB, free: 99.4 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.669e-05/1.042, allocations: 5.594 kB / 0.5207 GB, free: 99.39 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002534/1.042, allocations: 3.969 kB / 0.5207 GB, free: 99.39 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/1.042, allocations: 47.75 kB / 0.5207 GB, free: 99.39 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01906/1.061, allocations: 7.569 MB / 0.5281 GB, free: 95.79 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003967/1.065, allocations: 1.855 MB / 0.5299 GB, free: 94.92 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003076/1.069, allocations: 1.266 MB / 0.5312 GB, free: 94.43 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/1.069, allocations: 31.55 kB / 0.5312 GB, free: 94.43 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/1.069, allocations: 71.03 kB / 0.5313 GB, free: 94.36 MB / 395.1 MB Notification: Performance of pre-optimization done (n=208): time 4.939e-06/1.069, allocations: 0 / 0.5313 GB, free: 94.36 MB / 395.1 MB Notification: Performance of matching and sorting (n=250): time 0.04988/1.119, allocations: 9.091 MB / 0.5401 GB, free: 90.8 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/1.119, allocations: 394.9 kB / 0.5405 GB, free: 90.36 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/1.122, allocations: 1.18 MB / 0.5417 GB, free: 89.82 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000576/1.122, allocations: 25.7 kB / 0.5417 GB, free: 89.79 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005209/1.123, allocations: 0.7739 MB / 0.5424 GB, free: 89.14 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008691/1.124, allocations: 0.804 MB / 0.5432 GB, free: 88.5 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/1.124, allocations: 3.75 kB / 0.5432 GB, free: 88.5 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/1.124, allocations: 394.1 kB / 0.5436 GB, free: 88.15 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/1.126, allocations: 0.8693 MB / 0.5445 GB, free: 87.75 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/1.129, allocations: 1.081 MB / 0.5455 GB, free: 87.18 MB / 395.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.04391/1.173, allocations: 6.578 MB / 0.5519 GB, free: 84.75 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.49e-05/1.173, allocations: 4 kB / 0.5519 GB, free: 84.75 MB / 395.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.03842/1.211, allocations: 5.542 MB / 0.5574 GB, free: 79.96 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/1.211, allocations: 8 kB / 0.5574 GB, free: 79.96 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-05/1.211, allocations: 7.844 kB / 0.5574 GB, free: 79.95 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03363/1.245, allocations: 3.58 MB / 0.5609 GB, free: 76.97 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003195/1.248, allocations: 384.9 kB / 0.5612 GB, free: 76.66 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05998/1.308, allocations: 23.99 MB / 0.5847 GB, free: 53.54 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003858/1.312, allocations: 90.7 kB / 0.5848 GB, free: 53.47 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004482/1.312, allocations: 90.02 kB / 0.5848 GB, free: 53.4 MB / 395.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] = $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.0006834/1.313, allocations: 145.7 kB / 0.585 GB, free: 53.25 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01252/1.326, allocations: 3.054 MB / 0.588 GB, free: 50.5 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/1.327, allocations: 200.1 kB / 0.5881 GB, free: 50.31 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/1.337, allocations: 2.992 MB / 0.5911 GB, free: 47.67 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-05/1.337, allocations: 24 kB / 0.5911 GB, free: 47.65 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.337, allocations: 7.938 kB / 0.5911 GB, free: 47.64 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.145e-05/1.337, allocations: 19.19 kB / 0.5911 GB, free: 47.64 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/1.356, allocations: 5.635 MB / 0.5966 GB, free: 42.48 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.719e-05/1.356, allocations: 2.875 kB / 0.5966 GB, free: 42.48 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004057/1.36, allocations: 435.4 kB / 0.597 GB, free: 42.06 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008851/1.369, allocations: 1.178 MB / 0.5982 GB, free: 40.87 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004812/1.369, allocations: 27.94 kB / 0.5982 GB, free: 40.84 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03092/1.4, allocations: 16.43 MB / 0.6143 GB, free: 23.44 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.4, allocations: 4.031 kB / 0.6143 GB, free: 23.44 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/1.415, allocations: 4.542 MB / 0.6187 GB, free: 18.76 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/1.417, allocations: 0.5217 MB / 0.6192 GB, free: 18.21 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006387/1.418, allocations: 15.98 kB / 0.6192 GB, free: 18.2 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003659/1.422, allocations: 111.9 kB / 0.6193 GB, free: 18.09 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007998/1.423, allocations: 201.7 kB / 0.6195 GB, free: 17.89 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/1.423, allocations: 71.97 kB / 0.6196 GB, free: 17.82 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.00184/1.425, allocations: 0.8867 MB / 0.6205 GB, free: 16.93 MB / 395.1 MB Notification: Performance of sort global known variables: time 7.22e-07/1.425, allocations: 0 / 0.6205 GB, free: 16.93 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.004895/1.43, allocations: 0.6796 MB / 0.6211 GB, free: 16.25 MB / 395.1 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.01633/1.446, allocations: 5.444 MB / 0.6264 GB, free: 10.68 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.008109/1.454, allocations: 3.556 MB / 0.6299 GB, free: 6.992 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.454, allocations: 0 / 0.6299 GB, free: 6.992 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005065/1.459, allocations: 2.381 MB / 0.6322 GB, free: 4.527 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/1.462, allocations: 238.2 kB / 0.6325 GB, free: 4.301 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/1.476, allocations: 4.719 MB / 0.6371 GB, free: 15.54 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001916/1.478, allocations: 1.632 MB / 0.6387 GB, free: 13.86 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002459/1.48, allocations: 0.8898 MB / 0.6395 GB, free: 12.97 MB / 411.1 MB Notification: Performance of SimCode: time 9.62e-07/1.48, allocations: 0 / 0.6395 GB, free: 12.97 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.509/5.989, allocations: 111.5 MB / 0.7484 GB, free: 39.6 MB / 411.1 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)