Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.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.ComparisonPolyphase.IMC_DOL_Polyphase,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase",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.001825/0.001824, allocations: 174.5 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.413/1.413, allocations: 221.3 MB / 235.5 MB, free: 2.926 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.0008667/0.0008666, allocations: 85.92 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.793e-05, allocations: 7.984 kB / 344 MB, free: 4.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 50.41 MB / 394.4 MB, free: 1.727 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3765/0.4883, allocations: 114.5 MB / 0.4969 GB, free: 4.883 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.4886, allocations: 99.94 kB / 0.497 GB, free: 4.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6759/1.165, allocations: 183.6 MB / 0.6764 GB, free: 25.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.225e-06/1.165, allocations: 3.938 kB / 0.6764 GB, free: 25.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007669/1.165, allocations: 187.9 kB / 0.6765 GB, free: 25.79 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.02402/1.189, allocations: 7.637 MB / 0.684 GB, free: 18.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.269e-05/1.189, allocations: 12.03 kB / 0.684 GB, free: 18.04 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00481/1.194, allocations: 1.095 MB / 0.6851 GB, free: 16.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/1.205, allocations: 1.82 MB / 0.6869 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01992/1.225, allocations: 6.959 MB / 0.6937 GB, free: 8.074 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008778/1.226, allocations: 0.5901 MB / 0.6942 GB, free: 7.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003964/1.23, allocations: 0.7811 MB / 0.695 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03066/1.261, allocations: 10.76 MB / 0.7055 GB, free: 11.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003402/1.261, allocations: 15.83 kB / 0.7055 GB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002627/1.264, allocations: 336 kB / 0.7058 GB, free: 11.35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004238/1.264, allocations: 368.3 kB / 0.7062 GB, free: 10.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02224/1.287, allocations: 8.995 MB / 0.715 GB, free: 1.969 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3876/1.674, allocations: 34.52 MB / 0.7487 GB, free: 45.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01697/1.691, allocations: 19.68 MB / 0.7679 GB, free: 31.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00603/1.697, allocations: 3.6 MB / 0.7714 GB, free: 31.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01802/1.715, allocations: 9.449 MB / 0.7806 GB, free: 30.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.158e-05/1.716, allocations: 71.28 kB / 0.7807 GB, free: 30 MB / 442.7 MB Notification: Performance of pre-optimization done (n=317): time 6.001e-06/1.716, allocations: 1.125 kB / 0.7807 GB, free: 30 MB / 442.7 MB Notification: Performance of matching and sorting (n=323): time 0.019/1.735, allocations: 10.09 MB / 0.7906 GB, free: 26.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/1.735, allocations: 82.55 kB / 0.7906 GB, free: 26.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006702/1.741, allocations: 3.822 MB / 0.7944 GB, free: 24.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001066/1.742, allocations: 87.23 kB / 0.7945 GB, free: 24.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002257/1.745, allocations: 3.521 MB / 0.7979 GB, free: 22.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001342/1.746, allocations: 1.091 MB / 0.799 GB, free: 21.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/1.746, allocations: 75.97 kB / 0.799 GB, free: 21.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001899/1.747, allocations: 469.8 kB / 0.7995 GB, free: 20.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/1.749, allocations: 1.69 MB / 0.8011 GB, free: 20.24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002739/1.752, allocations: 2.707 MB / 0.8038 GB, free: 18.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002923/1.755, allocations: 2.18 MB / 0.8059 GB, free: 17.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.117e-05/1.755, allocations: 7.781 kB / 0.8059 GB, free: 17.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.009711/1.764, allocations: 5.753 MB / 0.8115 GB, free: 15.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.316e-05/1.765, allocations: 20.03 kB / 0.8116 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.083e-05/1.765, allocations: 31.12 kB / 0.8116 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/1.767, allocations: 0.7949 MB / 0.8124 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003302/1.77, allocations: 0.7999 MB / 0.8131 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/1.781, allocations: 14.81 MB / 0.8276 GB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003959/1.785, allocations: 197.2 kB / 0.8278 GB, free: 3.004 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006939/1.786, allocations: 156.3 kB / 0.8279 GB, free: 2.977 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 418 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(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 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007715/1.787, allocations: 344.6 kB / 0.8283 GB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/1.788, allocations: 455.8 kB / 0.8287 GB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008931/1.797, allocations: 5.416 MB / 0.834 GB, free: 204 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/1.797, allocations: 31.16 kB / 0.834 GB, free: 204 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-05/1.797, allocations: 21.09 kB / 0.834 GB, free: 204 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.087e-05/1.797, allocations: 15.8 kB / 0.8341 GB, free: 204 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02886/1.826, allocations: 12.5 MB / 0.8463 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.826, allocations: 3.156 kB / 0.8463 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/1.828, allocations: 369.4 kB / 0.8466 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003629/1.831, allocations: 1.367 MB / 0.848 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006085/1.832, allocations: 97.3 kB / 0.8481 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02698/1.859, allocations: 23.95 MB / 0.8714 GB, free: 7.051 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/1.859, allocations: 8.031 kB / 0.8715 GB, free: 7.043 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01639/1.875, allocations: 8.301 MB / 0.8796 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004316/1.88, allocations: 0.9495 MB / 0.8805 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00169/1.881, allocations: 79.23 kB / 0.8806 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0032/1.885, allocations: 187.7 kB / 0.8807 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008878/1.885, allocations: 326.5 kB / 0.8811 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002673/1.886, allocations: 93.23 kB / 0.8811 GB, free: 14.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0061/1.892, allocations: 2.91 MB / 0.884 GB, free: 11.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.892, allocations: 4 kB / 0.884 GB, free: 11.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008592/1.9, allocations: 1.467 MB / 0.8854 GB, free: 10.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 23,(6,72.2%) 46,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01536/1.916, allocations: 9.915 MB / 0.8951 GB, free: 1.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.286/2.202, allocations: 5.372 MB / 0.9004 GB, free: 96.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/2.202, allocations: 1.281 kB / 0.9004 GB, free: 96.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006445/2.208, allocations: 3.938 MB / 0.9042 GB, free: 95.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006349/2.215, allocations: 1.169 MB / 0.9053 GB, free: 95.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03547/2.25, allocations: 14.05 MB / 0.9191 GB, free: 92.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008915/2.259, allocations: 5.244 MB / 0.9242 GB, free: 91.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004911/2.264, allocations: 1.003 MB / 0.9252 GB, free: 91.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00568/2.27, allocations: 3.003 MB / 0.9281 GB, free: 91.86 MB / 490.7 MB Notification: Performance of SimCode: time 2.043e-06/2.27, allocations: 0 / 0.9281 GB, free: 91.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1994/2.469, allocations: 126.3 MB / 1.051 GB, free: 23.32 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/2.47, allocations: 244 kB / 1.052 GB, free: 22.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.017/8.487, allocations: 0 / 1.052 GB, free: 22.98 MB / 490.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase_res.mat does not exist to compare? outputFormat=mat