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.001607/0.001607, allocations: 177.1 kB / 8.35 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.504 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.0009741/0.0009741, allocations: 92.2 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.612e-05/1.625e-05, allocations: 0 / 337.1 MB, free: 9.918 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1032, allocations: 50.42 MB / 387.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3463/0.4496, allocations: 85.11 MB / 472.7 MB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.4499, allocations: 79.95 kB / 472.7 MB, free: 9.488 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07635/0.5262, allocations: 31.17 MB / 0.4921 GB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5263, allocations: 0 / 0.4921 GB, free: 10.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.995e-05/0.5263, allocations: 28 kB / 0.4921 GB, free: 9.988 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.003559/0.5299, allocations: 1.698 MB / 0.4938 GB, free: 8.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.53, allocations: 8.031 kB / 0.4938 GB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.5313, allocations: 317.8 kB / 0.4941 GB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.533, allocations: 1.071 MB / 0.4951 GB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/0.5331, allocations: 48.34 kB / 0.4952 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.5333, allocations: 83.95 kB / 0.4953 GB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002181/0.5355, allocations: 1.434 MB / 0.4967 GB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.5379, allocations: 1.591 MB / 0.4982 GB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.538, allocations: 0 / 0.4982 GB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.5381, allocations: 7.938 kB / 0.4982 GB, free: 3.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.957e-05/0.5381, allocations: 46 kB / 0.4983 GB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008218/0.5464, allocations: 5.331 MB / 0.5035 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002885/0.5493, allocations: 2.833 MB / 0.5062 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005637/0.5499, allocations: 437.3 kB / 0.5067 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002179/0.552, allocations: 1.502 MB / 0.5081 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.5521, allocations: 38.84 kB / 0.5082 GB, free: 8.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 2.285e-06/0.5521, allocations: 0 / 0.5082 GB, free: 8.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.001442/0.5535, allocations: 0.8119 MB / 0.509 GB, free: 7.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.5536, allocations: 85.11 kB / 0.509 GB, free: 7.738 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.5547, allocations: 0.8478 MB / 0.5099 GB, free: 6.887 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.5547, allocations: 25.7 kB / 0.5099 GB, free: 6.855 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004467/0.5552, allocations: 0.6813 MB / 0.5106 GB, free: 6.164 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.5553, allocations: 177.4 kB / 0.5107 GB, free: 5.988 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.5554, allocations: 0 / 0.5107 GB, free: 5.988 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5555, allocations: 334 kB / 0.511 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.5559, allocations: 313.4 kB / 0.5113 GB, free: 5.352 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/0.5564, allocations: 469.8 kB / 0.5118 GB, free: 4.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/0.5571, allocations: 453.1 kB / 0.5122 GB, free: 4.379 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5571, allocations: 0 / 0.5122 GB, free: 4.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001347/0.5584, allocations: 0.9239 MB / 0.5131 GB, free: 3.449 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.5585, allocations: 7.984 kB / 0.5131 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5585, allocations: 8 kB / 0.5131 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.5585, allocations: 8 kB / 0.5132 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007402/0.5592, allocations: 183.8 kB / 0.5133 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.5593, allocations: 11.94 kB / 0.5133 GB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.5598, allocations: 83.34 kB / 0.5134 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.5598, allocations: 24 kB / 0.5134 GB, free: 3.129 MB / 394.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.0001364/0.56, allocations: 116.8 kB / 0.5136 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001328/0.5613, allocations: 0.8146 MB / 0.5143 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.5615, allocations: 90.95 kB / 0.5144 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.5627, allocations: 0.6736 MB / 0.5151 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.5627, allocations: 12.22 kB / 0.5151 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.5627, allocations: 8 kB / 0.5151 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.5627, allocations: 0 / 0.5151 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.5649, allocations: 1.423 MB / 0.5165 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5649, allocations: 0 / 0.5165 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.5654, allocations: 95.88 kB / 0.5166 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003926/0.5658, allocations: 154.6 kB / 0.5167 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.5658, allocations: 11.98 kB / 0.5168 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002705/0.5686, allocations: 2.509 MB / 0.5192 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5686, allocations: 0 / 0.5192 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.5704, allocations: 1.425 MB / 0.5206 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.5707, allocations: 188 kB / 0.5208 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.5708, allocations: 11.98 kB / 0.5208 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/0.5713, allocations: 59.89 kB / 0.5208 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.5715, allocations: 55.84 kB / 0.5209 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.5715, allocations: 27.92 kB / 0.5209 GB, free: 11.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008071/0.5723, allocations: 0.6513 MB / 0.5216 GB, free: 10.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5723, allocations: 0 / 0.5216 GB, free: 10.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009689/0.5733, allocations: 346.3 kB / 0.5219 GB, free: 10.21 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.002387/0.5757, allocations: 2.291 MB / 0.5241 GB, free: 7.859 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009394/0.5767, allocations: 0.6747 MB / 0.5248 GB, free: 7.188 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5767, allocations: 0 / 0.5248 GB, free: 7.188 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000809/0.5775, allocations: 0.5207 MB / 0.5253 GB, free: 6.656 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007406/0.5782, allocations: 151.3 kB / 0.5254 GB, free: 6.508 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.5825, allocations: 2.65 MB / 0.528 GB, free: 3.797 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.5836, allocations: 1.518 MB / 0.5295 GB, free: 2.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005767/0.5842, allocations: 222.5 kB / 0.5297 GB, free: 2.027 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005636/0.5848, allocations: 479.3 kB / 0.5302 GB, free: 1.559 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5848, allocations: 0 / 0.5302 GB, free: 1.559 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3194/0.9042, allocations: 18.94 MB / 0.5487 GB, free: 117.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007478/0.905, allocations: 172.6 kB / 0.5488 GB, free: 117 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/3.351, allocations: 0.8438 kB / 0.5488 GB, free: 117 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