Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",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.001364/0.001364, 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.444/1.444, allocations: 221.3 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.0009453/0.0009451, allocations: 86.12 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.899e-05/2.901e-05, allocations: 4 kB / 343.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 50.42 MB / 394.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3469/0.4482, allocations: 123.4 MB / 0.5056 GB, free: 11.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.4486, allocations: 99.88 kB / 0.5057 GB, free: 11.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5103/0.9589, allocations: 117.8 MB / 0.6208 GB, free: 83.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.507e-06/0.9589, allocations: 3.938 kB / 0.6208 GB, free: 83.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004937/0.9594, allocations: 127.9 kB / 0.6209 GB, free: 83.85 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01574/0.9752, allocations: 4.941 MB / 0.6258 GB, free: 78.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.9753, allocations: 12.02 kB / 0.6258 GB, free: 78.85 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002939/0.9782, allocations: 0.7016 MB / 0.6265 GB, free: 78.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006308/0.9845, allocations: 0.9924 MB / 0.6274 GB, free: 77.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.9961, allocations: 4.596 MB / 0.6319 GB, free: 72.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.9965, allocations: 391.9 kB / 0.6323 GB, free: 72.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001945/0.9984, allocations: 0.4998 MB / 0.6328 GB, free: 71.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/1.016, allocations: 6.715 MB / 0.6393 GB, free: 64.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002139/1.016, allocations: 11.95 kB / 0.6394 GB, free: 64.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00121/1.018, allocations: 214.3 kB / 0.6396 GB, free: 64.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001919/1.018, allocations: 234.2 kB / 0.6398 GB, free: 64.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/1.03, allocations: 5.433 MB / 0.6451 GB, free: 58.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04444/1.074, allocations: 21.43 MB / 0.666 GB, free: 37.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007303/1.081, allocations: 8.664 MB / 0.6745 GB, free: 27.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003242/1.085, allocations: 2.203 MB / 0.6766 GB, free: 25.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/1.096, allocations: 6.175 MB / 0.6827 GB, free: 18.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/1.096, allocations: 60.5 kB / 0.6827 GB, free: 18.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=220): time 4.569e-06/1.096, allocations: 0 / 0.6827 GB, free: 18.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=239): time 0.01879/1.115, allocations: 8.964 MB / 0.6915 GB, free: 9.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/1.115, allocations: 77.41 kB / 0.6915 GB, free: 9.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004039/1.119, allocations: 2.578 MB / 0.6941 GB, free: 7.145 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007242/1.12, allocations: 73.64 kB / 0.6941 GB, free: 7.066 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/1.121, allocations: 2.304 MB / 0.6964 GB, free: 4.734 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009244/1.122, allocations: 0.8164 MB / 0.6972 GB, free: 3.906 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/1.123, allocations: 56 kB / 0.6972 GB, free: 3.852 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/1.123, allocations: 423.8 kB / 0.6976 GB, free: 3.434 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/1.124, allocations: 1.294 MB / 0.6989 GB, free: 2.137 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/1.126, allocations: 2.039 MB / 0.7009 GB, free: 15.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/1.129, allocations: 1.65 MB / 0.7025 GB, free: 14.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/1.129, allocations: 4 kB / 0.7025 GB, free: 14.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008304/1.137, allocations: 4.519 MB / 0.7069 GB, free: 9.469 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/1.137, allocations: 16 kB / 0.7069 GB, free: 9.453 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.328e-05/1.137, allocations: 24 kB / 0.707 GB, free: 9.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002121/1.14, allocations: 0.7585 MB / 0.7077 GB, free: 8.641 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/1.143, allocations: 0.6357 MB / 0.7083 GB, free: 8.004 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2807/1.423, allocations: 13.35 MB / 0.7214 GB, free: 87.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/1.427, allocations: 160.2 kB / 0.7215 GB, free: 87.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006627/1.428, allocations: 117.5 kB / 0.7216 GB, free: 87.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * 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: 7 * 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: 7 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006786/1.428, allocations: 277.4 kB / 0.7219 GB, free: 87.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009991/1.429, allocations: 321.8 kB / 0.7222 GB, free: 87.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007665/1.437, allocations: 4.122 MB / 0.7262 GB, free: 86.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/1.437, allocations: 23.12 kB / 0.7262 GB, free: 86.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.129e-05/1.437, allocations: 9.031 kB / 0.7263 GB, free: 86.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/1.437, allocations: 14 kB / 0.7263 GB, free: 86.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02127/1.459, allocations: 9.016 MB / 0.7351 GB, free: 85.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/1.459, allocations: 3.5 kB / 0.7351 GB, free: 85.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00201/1.461, allocations: 390.6 kB / 0.7354 GB, free: 85.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002892/1.464, allocations: 0.9121 MB / 0.7363 GB, free: 85.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005128/1.464, allocations: 70.67 kB / 0.7364 GB, free: 85.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/1.479, allocations: 16.5 MB / 0.7525 GB, free: 75.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.479, allocations: 10.73 kB / 0.7525 GB, free: 75.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009403/1.488, allocations: 6.262 MB / 0.7586 GB, free: 74.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002503/1.491, allocations: 0.7023 MB / 0.7593 GB, free: 74.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.492, allocations: 59.22 kB / 0.7594 GB, free: 74.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/1.494, allocations: 142.4 kB / 0.7595 GB, free: 74.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005828/1.494, allocations: 200 kB / 0.7597 GB, free: 74.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/1.494, allocations: 71.64 kB / 0.7598 GB, free: 74.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003378/1.498, allocations: 1.964 MB / 0.7617 GB, free: 73.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.498, allocations: 0 / 0.7617 GB, free: 73.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004654/1.503, allocations: 1.017 MB / 0.7627 GB, free: 73.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 171 * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009734/1.512, allocations: 8.178 MB / 0.7707 GB, free: 69.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005986/1.518, allocations: 4.462 MB / 0.775 GB, free: 66.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/1.518, allocations: 0 / 0.775 GB, free: 66.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004009/1.522, allocations: 2.975 MB / 0.7779 GB, free: 65.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004709/1.527, allocations: 0.8429 MB / 0.7788 GB, free: 65.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02173/1.549, allocations: 9.631 MB / 0.7882 GB, free: 61.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003611/1.553, allocations: 3.521 MB / 0.7916 GB, free: 59.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003669/1.556, allocations: 0.7701 MB / 0.7924 GB, free: 59.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003483/1.56, allocations: 1.948 MB / 0.7943 GB, free: 58.13 MB / 442.7 MB Notification: Performance of SimCode: time 1.683e-06/1.56, allocations: 0 / 0.7943 GB, free: 58.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1398/1.7, allocations: 87.69 MB / 0.8799 GB, free: 2.27 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/1.7, allocations: 221.8 kB / 0.8801 GB, free: 2.039 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.928/6.627, allocations: 0 / 0.8801 GB, free: 2.039 MB / 458.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat