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.001044/0.001044, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.283/1.283, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009044/0.0009043, allocations: 102.3 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002761, allocations: 7.938 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2216, allocations: 50.39 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0961/0.3177, allocations: 85.84 MB / 487.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.318, allocations: 83.89 kB / 487.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2511/0.5692, allocations: 31.5 MB / 0.5068 GB, free: 88.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.128e-06/0.5692, allocations: 0.5 kB / 0.5068 GB, free: 88.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001958/0.5694, allocations: 40.16 kB / 0.5069 GB, free: 88.45 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.005304/0.5747, allocations: 1.854 MB / 0.5087 GB, free: 87.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.5748, allocations: 8.656 kB / 0.5087 GB, free: 87.63 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006707/0.5755, allocations: 210.6 kB / 0.5089 GB, free: 87.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.5771, allocations: 321.3 kB / 0.5092 GB, free: 87.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.5794, allocations: 1.085 MB / 0.5103 GB, free: 87.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-05/0.5795, allocations: 104.4 kB / 0.5104 GB, free: 87.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002909/0.5798, allocations: 135.3 kB / 0.5105 GB, free: 87.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.5827, allocations: 1.838 MB / 0.5123 GB, free: 86.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.5827, allocations: 3.656 kB / 0.5123 GB, free: 86.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.5829, allocations: 61.53 kB / 0.5123 GB, free: 86.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-05/0.5829, allocations: 44.56 kB / 0.5124 GB, free: 86.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.5852, allocations: 1.605 MB / 0.514 GB, free: 86.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007999/0.5933, allocations: 5.58 MB / 0.5194 GB, free: 84.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.5954, allocations: 2.905 MB / 0.5222 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001814/0.5973, allocations: 1.539 MB / 0.5237 GB, free: 81.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.5973, allocations: 43.44 kB / 0.5238 GB, free: 81.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 2.334e-06/0.5973, allocations: 0 / 0.5238 GB, free: 81.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.00255/0.5999, allocations: 1.429 MB / 0.5252 GB, free: 80.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.5999, allocations: 89.05 kB / 0.5253 GB, free: 80.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000952/0.6009, allocations: 0.9206 MB / 0.5262 GB, free: 80.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.6009, allocations: 40.66 kB / 0.5262 GB, free: 80.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/0.6012, allocations: 0.68 MB / 0.5269 GB, free: 79.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.6013, allocations: 188.9 kB / 0.527 GB, free: 79.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.6014, allocations: 15.66 kB / 0.5271 GB, free: 79.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.6014, allocations: 329 kB / 0.5274 GB, free: 79.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/0.6019, allocations: 372.3 kB / 0.5277 GB, free: 79.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005323/0.6024, allocations: 0.5292 MB / 0.5282 GB, free: 78.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/0.603, allocations: 442.8 kB / 0.5287 GB, free: 78.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.603, allocations: 0 / 0.5287 GB, free: 78.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001297/0.6043, allocations: 1.025 MB / 0.5297 GB, free: 78.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.6043, allocations: 7.688 kB / 0.5297 GB, free: 78.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6043, allocations: 6.344 kB / 0.5297 GB, free: 78.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.6044, allocations: 10.94 kB / 0.5297 GB, free: 78.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/0.605, allocations: 189.5 kB / 0.5299 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.6051, allocations: 11.28 kB / 0.5299 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.6055, allocations: 95.44 kB / 0.53 GB, free: 78.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.6056, allocations: 22.94 kB / 0.53 GB, free: 78.14 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0006531/0.6063, allocations: 0.5215 MB / 0.5305 GB, free: 77.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.6064, allocations: 94.81 kB / 0.5306 GB, free: 77.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.6076, allocations: 0.7066 MB / 0.5313 GB, free: 77.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.6076, allocations: 4 kB / 0.5313 GB, free: 77.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.6076, allocations: 7.75 kB / 0.5313 GB, free: 77.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.6077, allocations: 3.844 kB / 0.5313 GB, free: 77.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.6099, allocations: 1.666 MB / 0.5329 GB, free: 75.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.61, allocations: 4.094 kB / 0.5329 GB, free: 75.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/0.6104, allocations: 98.27 kB / 0.533 GB, free: 75.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003738/0.6108, allocations: 146.4 kB / 0.5332 GB, free: 75.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.6109, allocations: 23.47 kB / 0.5332 GB, free: 75.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/0.6131, allocations: 2.678 MB / 0.5358 GB, free: 73.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6131, allocations: 1.312 kB / 0.5358 GB, free: 73.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.6148, allocations: 1.562 MB / 0.5373 GB, free: 71.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.6151, allocations: 191.6 kB / 0.5375 GB, free: 71.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.953e-05/0.6152, allocations: 19.89 kB / 0.5375 GB, free: 71.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004963/0.6157, allocations: 67 kB / 0.5376 GB, free: 71.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.6158, allocations: 55.16 kB / 0.5377 GB, free: 71.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.6158, allocations: 19.33 kB / 0.5377 GB, free: 71.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000703/0.6166, allocations: 0.7174 MB / 0.5384 GB, free: 70.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6166, allocations: 0 / 0.5384 GB, free: 70.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008484/0.6174, allocations: 369.6 kB / 0.5387 GB, free: 70.52 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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.00203/0.6194, allocations: 2.434 MB / 0.5411 GB, free: 68.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.6205, allocations: 0.7946 MB / 0.5419 GB, free: 67.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6205, allocations: 0 / 0.5419 GB, free: 67.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008159/0.6214, allocations: 0.5909 MB / 0.5425 GB, free: 67.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000669/0.622, allocations: 173.2 kB / 0.5426 GB, free: 66.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009781/0.6318, allocations: 11 MB / 0.5534 GB, free: 55.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007515/0.6326, allocations: 1.524 MB / 0.5548 GB, free: 54.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006431/0.6333, allocations: 231.3 kB / 0.5551 GB, free: 54.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004627/0.6337, allocations: 487.3 kB / 0.5555 GB, free: 53.69 MB / 378.7 MB Notification: Performance of SimCode: time 8.31e-07/0.6337, allocations: 0 / 0.5555 GB, free: 53.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.6654, allocations: 21.28 MB / 0.5763 GB, free: 32.91 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/0.6656, allocations: 228.3 kB / 0.5765 GB, free: 32.67 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/3.057, allocations: 2.812 kB / 0.5765 GB, free: 32.67 MB / 378.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