Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",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.001554/0.001554, allocations: 175 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 221.4 MB / 235.5 MB, free: 2.938 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.0008942/0.0008942, allocations: 83.88 kB / 286.5 MB, free: 252 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.21e-05/4.236e-05, allocations: 4 kB / 343.9 MB, free: 4.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1566, allocations: 50.42 MB / 394.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4039/0.5606, allocations: 85.76 MB / 480.1 MB, free: 1.723 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.5609, allocations: 83.95 kB / 480.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08031/0.6413, allocations: 31.51 MB / 0.4997 GB, free: 1.809 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6413, allocations: 7.938 kB / 0.4997 GB, free: 1.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.123e-05/0.6414, allocations: 36 kB / 0.4998 GB, free: 1.766 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003803/0.6452, allocations: 1.689 MB / 0.5014 GB, free: 28 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.6453, allocations: 8.031 kB / 0.5014 GB, free: 20 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002961/0.6456, allocations: 206.6 kB / 0.5016 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.647, allocations: 317.7 kB / 0.5019 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.6492, allocations: 1.082 MB / 0.503 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-05/0.6493, allocations: 103 kB / 0.5031 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.6496, allocations: 136 kB / 0.5032 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/0.6525, allocations: 1.776 MB / 0.5049 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.6525, allocations: 0 / 0.5049 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.6527, allocations: 59.94 kB / 0.505 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.154e-05/0.6527, allocations: 49.98 kB / 0.505 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.6552, allocations: 1.505 MB / 0.5065 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009458/0.6646, allocations: 5.591 MB / 0.512 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003082/0.6678, allocations: 2.849 MB / 0.5147 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/0.6684, allocations: 465.2 kB / 0.5152 GB, free: 1.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002678/0.6711, allocations: 1.529 MB / 0.5167 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.6712, allocations: 38.84 kB / 0.5167 GB, free: 15.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 3.176e-06/0.6712, allocations: 0 / 0.5167 GB, free: 15.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.001546/0.6727, allocations: 0.804 MB / 0.5175 GB, free: 14.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.6728, allocations: 85.11 kB / 0.5176 GB, free: 14.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.6742, allocations: 0.9104 MB / 0.5185 GB, free: 13.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.6743, allocations: 37.7 kB / 0.5185 GB, free: 13.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/0.6748, allocations: 0.6774 MB / 0.5192 GB, free: 12.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.6749, allocations: 181.3 kB / 0.5193 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.675, allocations: 16 kB / 0.5194 GB, free: 12.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6751, allocations: 334 kB / 0.5197 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/0.6756, allocations: 325.4 kB / 0.52 GB, free: 12.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/0.6763, allocations: 498.1 kB / 0.5205 GB, free: 11.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.6769, allocations: 401.2 kB / 0.5208 GB, free: 11.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6769, allocations: 288 / 0.5209 GB, free: 11.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00157/0.6785, allocations: 0.9278 MB / 0.5218 GB, free: 10.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.6785, allocations: 12.09 kB / 0.5218 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.6785, allocations: 7.938 kB / 0.5218 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-05/0.6786, allocations: 11.95 kB / 0.5218 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008471/0.6794, allocations: 187.7 kB / 0.522 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-05/0.6795, allocations: 8 kB / 0.522 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007065/0.6802, allocations: 95.25 kB / 0.5221 GB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.838e-05/0.6802, allocations: 27.98 kB / 0.5221 GB, free: 9.848 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002096/0.6805, allocations: 144.7 kB / 0.5222 GB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.6807, allocations: 86.97 kB / 0.5223 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.682, allocations: 0.6501 MB / 0.5229 GB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.682, allocations: 8 kB / 0.523 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.682, allocations: 4 kB / 0.523 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.682, allocations: 3.984 kB / 0.523 GB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.6853, allocations: 1.623 MB / 0.5245 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.6854, allocations: 0 / 0.5245 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.6859, allocations: 99.97 kB / 0.5246 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005201/0.6864, allocations: 153.9 kB / 0.5248 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/0.6865, allocations: 15.98 kB / 0.5248 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003305/0.6898, allocations: 2.599 MB / 0.5273 GB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6898, allocations: 0 / 0.5273 GB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.692, allocations: 1.417 MB / 0.5287 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/0.6925, allocations: 191.9 kB / 0.5289 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.6927, allocations: 15.98 kB / 0.5289 GB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006644/0.6934, allocations: 67.94 kB / 0.529 GB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.6936, allocations: 59.73 kB / 0.529 GB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/0.6936, allocations: 19.98 kB / 0.5291 GB, free: 2.398 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001284/0.6949, allocations: 0.7138 MB / 0.5298 GB, free: 1.691 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6949, allocations: 0 / 0.5298 GB, free: 1.691 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001367/0.6963, allocations: 362.5 kB / 0.5301 GB, free: 1.336 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002699/0.699, allocations: 2.303 MB / 0.5324 GB, free: 14.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.7004, allocations: 0.7064 MB / 0.533 GB, free: 14.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.7005, allocations: 4.375 kB / 0.5331 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.7017, allocations: 0.5476 MB / 0.5336 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.7031, allocations: 167.2 kB / 0.5337 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007052/0.7102, allocations: 2.712 MB / 0.5364 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/0.7116, allocations: 1.522 MB / 0.5379 GB, free: 9.219 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007781/0.7124, allocations: 226.7 kB / 0.5381 GB, free: 8.992 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006871/0.7131, allocations: 487.2 kB / 0.5386 GB, free: 8.516 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/0.7131, allocations: 0 / 0.5386 GB, free: 8.516 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2987/1.012, allocations: 21.2 MB / 0.5593 GB, free: 117.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/1.012, allocations: 205 kB / 0.5595 GB, free: 117.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/3.547, allocations: 0 / 0.5595 GB, free: 117.1 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat does not exist to compare? outputFormat=mat