Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",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.001145/0.001145, allocations: 174.8 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.385/1.385, allocations: 221.3 MB / 235.5 MB, free: 2.957 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.0008556/0.0008555, allocations: 91.8 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.073e-05, allocations: 4 kB / 344 MB, free: 4.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 50.41 MB / 394.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3896/0.493, allocations: 130.4 MB / 0.5125 GB, free: 4.973 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.4933, allocations: 87.94 kB / 0.5126 GB, free: 4.887 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6059/1.099, allocations: 150.9 MB / 0.6599 GB, free: 44.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.232e-06/1.099, allocations: 4 kB / 0.6599 GB, free: 44.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007799/1.1, allocations: 175.8 kB / 0.6601 GB, free: 44.55 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.02296/1.123, allocations: 6.594 MB / 0.6665 GB, free: 37.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.499e-05/1.123, allocations: 8.031 kB / 0.6665 GB, free: 37.88 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005421/1.129, allocations: 0.9216 MB / 0.6674 GB, free: 36.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008338/1.137, allocations: 1.244 MB / 0.6686 GB, free: 35.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01672/1.154, allocations: 6.23 MB / 0.6747 GB, free: 29.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006608/1.154, allocations: 0.5016 MB / 0.6752 GB, free: 28.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004319/1.159, allocations: 0.66 MB / 0.6759 GB, free: 28.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02563/1.184, allocations: 9.162 MB / 0.6848 GB, free: 18.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003288/1.185, allocations: 19.84 kB / 0.6848 GB, free: 18.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002268/1.187, allocations: 288 kB / 0.6851 GB, free: 18.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003073/1.187, allocations: 293.4 kB / 0.6854 GB, free: 18.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01864/1.206, allocations: 7.437 MB / 0.6926 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3769/1.583, allocations: 29.44 MB / 0.7214 GB, free: 57.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/1.595, allocations: 11.75 MB / 0.7329 GB, free: 50.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006582/1.601, allocations: 3.263 MB / 0.7361 GB, free: 50.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01761/1.619, allocations: 6.825 MB / 0.7427 GB, free: 49.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.363e-05/1.619, allocations: 68.62 kB / 0.7428 GB, free: 49.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=306): time 5.981e-06/1.619, allocations: 0 / 0.7428 GB, free: 49.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=325): time 0.02709/1.646, allocations: 11.92 MB / 0.7544 GB, free: 47.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/1.646, allocations: 86.73 kB / 0.7545 GB, free: 47.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006204/1.653, allocations: 3.446 MB / 0.7579 GB, free: 47.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007351/1.653, allocations: 82.39 kB / 0.758 GB, free: 47.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002006/1.655, allocations: 3.076 MB / 0.761 GB, free: 46.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001256/1.657, allocations: 1.102 MB / 0.762 GB, free: 45.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/1.657, allocations: 75.06 kB / 0.7621 GB, free: 45.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/1.657, allocations: 458.2 kB / 0.7625 GB, free: 45.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002409/1.66, allocations: 1.794 MB / 0.7643 GB, free: 45.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002798/1.662, allocations: 2.695 MB / 0.7669 GB, free: 44.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00302/1.665, allocations: 2.22 MB / 0.7691 GB, free: 43.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.96e-05/1.665, allocations: 7.344 kB / 0.7691 GB, free: 43.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.009595/1.675, allocations: 6.199 MB / 0.7752 GB, free: 43.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/1.675, allocations: 20.92 kB / 0.7752 GB, free: 43.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.935e-05/1.675, allocations: 26.56 kB / 0.7752 GB, free: 43.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002627/1.678, allocations: 1.248 MB / 0.7764 GB, free: 43.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003677/1.682, allocations: 0.8188 MB / 0.7772 GB, free: 43.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01609/1.698, allocations: 20.69 MB / 0.7974 GB, free: 28.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005047/1.703, allocations: 202.8 kB / 0.7976 GB, free: 28.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/1.704, allocations: 149.4 kB / 0.7978 GB, free: 28.35 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(2,100.0%) 14,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009103/1.705, allocations: 338.5 kB / 0.7981 GB, free: 28.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001682/1.707, allocations: 447.9 kB / 0.7985 GB, free: 27.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009972/1.716, allocations: 5.963 MB / 0.8043 GB, free: 25.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/1.717, allocations: 33.42 kB / 0.8044 GB, free: 25.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.443e-05/1.717, allocations: 15.25 kB / 0.8044 GB, free: 25.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.4e-05/1.717, allocations: 14.81 kB / 0.8044 GB, free: 25.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0234/1.74, allocations: 12.25 MB / 0.8164 GB, free: 20.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/1.74, allocations: 2.406 kB / 0.8164 GB, free: 20.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/1.742, allocations: 468.9 kB / 0.8168 GB, free: 20.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003662/1.746, allocations: 1.603 MB / 0.8184 GB, free: 19.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000403/1.746, allocations: 79.11 kB / 0.8184 GB, free: 19.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0237/1.77, allocations: 30.15 MB / 0.8479 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/1.77, allocations: 11.61 kB / 0.8479 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/1.785, allocations: 8.85 MB / 0.8565 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00343/1.788, allocations: 0.9147 MB / 0.8574 GB, free: 4.539 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/1.79, allocations: 71.95 kB / 0.8575 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002641/1.792, allocations: 202.7 kB / 0.8577 GB, free: 4.324 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007307/1.793, allocations: 277.2 kB / 0.858 GB, free: 4.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002516/1.793, allocations: 88.72 kB / 0.8581 GB, free: 4.082 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004964/1.798, allocations: 2.635 MB / 0.8606 GB, free: 1.711 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.402e-06/1.798, allocations: 0 / 0.8606 GB, free: 1.711 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007976/1.806, allocations: 1.377 MB / 0.862 GB, free: 352 kB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.stator.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,loadInertiaM.w,loadInertiaE.w,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01726/1.824, allocations: 10.55 MB / 0.8723 GB, free: 6.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01107/1.835, allocations: 6.175 MB / 0.8783 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/1.835, allocations: 0 / 0.8783 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0116/1.846, allocations: 4.953 MB / 0.8831 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007911/1.854, allocations: 1.255 MB / 0.8844 GB, free: 12.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03632/1.891, allocations: 12.92 MB / 0.897 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2989/2.19, allocations: 4.801 MB / 0.9017 GB, free: 102.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005028/2.195, allocations: 1.037 MB / 0.9027 GB, free: 102.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004736/2.2, allocations: 2.672 MB / 0.9053 GB, free: 102.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.373e-06/2.2, allocations: 0 / 0.9053 GB, free: 102.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2031/2.403, allocations: 122.8 MB / 1.025 GB, free: 48.56 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/2.403, allocations: 213.2 kB / 1.025 GB, free: 48.34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.379/8.782, allocations: 8 kB / 1.025 GB, free: 48.33 MB / 490.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat does not exist to compare? outputFormat=mat