Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001056/0.001056, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008135/0.0008135, allocations: 94.11 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.108e-05, allocations: 4 kB / 343.8 MB, free: 8.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 51.48 MB / 395.3 MB, free: 4.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3538/0.4604, allocations: 115 MB / 0.4983 GB, free: 10.49 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.4607, allocations: 97.03 kB / 0.4984 GB, free: 10.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6989/1.16, allocations: 187.4 MB / 0.6814 GB, free: 52.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.16, allocations: 3.938 kB / 0.6814 GB, free: 52.03 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001027/1.161, allocations: 202.3 kB / 0.6816 GB, free: 52 MB / 442.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.0292/1.19, allocations: 7.672 MB / 0.6891 GB, free: 47.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.846e-05/1.19, allocations: 9.844 kB / 0.6891 GB, free: 47.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/1.203, allocations: 1.916 MB / 0.6909 GB, free: 46.33 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02002/1.223, allocations: 6.988 MB / 0.6978 GB, free: 41.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000584/1.224, allocations: 269.1 kB / 0.698 GB, free: 41.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003642/1.227, allocations: 481.4 kB / 0.6985 GB, free: 41.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0215/1.249, allocations: 8.514 MB / 0.7068 GB, free: 33.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03004/1.279, allocations: 9.589 MB / 0.7162 GB, free: 23.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004099/1.279, allocations: 11.98 kB / 0.7162 GB, free: 23.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002818/1.282, allocations: 8 kB / 0.7162 GB, free: 23.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003336/1.283, allocations: 368.2 kB / 0.7165 GB, free: 22.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3862/1.669, allocations: 33.13 MB / 0.7489 GB, free: 43.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01804/1.687, allocations: 20.66 MB / 0.7691 GB, free: 28.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008734/1.696, allocations: 4.751 MB / 0.7737 GB, free: 27.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0186/1.714, allocations: 10.44 MB / 0.7839 GB, free: 26.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.638e-05/1.714, allocations: 66.28 kB / 0.784 GB, free: 26.53 MB / 442.7 MB Notification: Performance of pre-optimization done (n=317): time 5.901e-06/1.715, allocations: 0 / 0.784 GB, free: 26.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=323): time 0.02755/1.742, allocations: 11.43 MB / 0.7951 GB, free: 24.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/1.742, allocations: 84.64 kB / 0.7952 GB, free: 24.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006247/1.748, allocations: 3.15 MB / 0.7983 GB, free: 24.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005745/1.749, allocations: 26.7 kB / 0.7983 GB, free: 24.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00286/1.752, allocations: 3.548 MB / 0.8018 GB, free: 22.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00144/1.753, allocations: 1.046 MB / 0.8028 GB, free: 22.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/1.754, allocations: 0 / 0.8028 GB, free: 22.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001021/1.755, allocations: 463.7 kB / 0.8032 GB, free: 37.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003023/1.758, allocations: 1.676 MB / 0.8049 GB, free: 37.85 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003495/1.761, allocations: 2.664 MB / 0.8075 GB, free: 36.71 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006255/1.767, allocations: 2.642 MB / 0.81 GB, free: 36.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.526e-05/1.768, allocations: 8.875 kB / 0.81 GB, free: 36.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01584/1.783, allocations: 6.104 MB / 0.816 GB, free: 35.83 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.475e-05/1.783, allocations: 18.72 kB / 0.816 GB, free: 35.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.625e-05/1.784, allocations: 32.17 kB / 0.8161 GB, free: 35.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002485/1.786, allocations: 0.9665 MB / 0.817 GB, free: 35.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003382/1.789, allocations: 0.7941 MB / 0.8178 GB, free: 35.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/1.805, allocations: 15.67 MB / 0.8331 GB, free: 23.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004449/1.81, allocations: 109 kB / 0.8332 GB, free: 23.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009992/1.811, allocations: 159.5 kB / 0.8333 GB, free: 23.5 MB / 458.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 (422): * Single equations (assignments): 413 * 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%) 8,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,81.2%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001796/1.813, allocations: 211 kB / 0.8335 GB, free: 23.36 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01193/1.825, allocations: 5.547 MB / 0.839 GB, free: 21.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001912/1.827, allocations: 416.4 kB / 0.8394 GB, free: 20.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/1.839, allocations: 5.9 MB / 0.8451 GB, free: 18.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-05/1.839, allocations: 31.16 kB / 0.8451 GB, free: 18.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.29e-05/1.839, allocations: 19.59 kB / 0.8452 GB, free: 18.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.08e-05/1.839, allocations: 14.81 kB / 0.8452 GB, free: 18.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02255/1.862, allocations: 11.96 MB / 0.8569 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/1.862, allocations: 3.594 kB / 0.8569 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/1.863, allocations: 375.5 kB / 0.8572 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003827/1.867, allocations: 1.502 MB / 0.8587 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004439/1.868, allocations: 49.89 kB / 0.8587 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02476/1.893, allocations: 24.46 MB / 0.8826 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/1.893, allocations: 8.594 kB / 0.8826 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/1.908, allocations: 8.666 MB / 0.8911 GB, free: 6.051 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003292/1.911, allocations: 0.8987 MB / 0.892 GB, free: 5.223 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/1.913, allocations: 31.33 kB / 0.892 GB, free: 5.195 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/1.916, allocations: 141.9 kB / 0.8921 GB, free: 5.094 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/1.917, allocations: 310.4 kB / 0.8924 GB, free: 4.914 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003265/1.917, allocations: 94.66 kB / 0.8925 GB, free: 4.828 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005076/1.922, allocations: 2.356 MB / 0.8948 GB, free: 2.727 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.922, allocations: 0 / 0.8948 GB, free: 2.727 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008456/1.931, allocations: 1.332 MB / 0.8961 GB, free: 1.406 MB / 474.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 (190): * Single equations (assignments): 181 * 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%) 8,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1,(6,80.6%) 46,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01725/1.948, allocations: 10.34 MB / 0.9062 GB, free: 8.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008371/1.956, allocations: 5.285 MB / 0.9114 GB, free: 3.164 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.957, allocations: 8.125 kB / 0.9114 GB, free: 3.156 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2926/2.249, allocations: 3.856 MB / 0.9152 GB, free: 90.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008408/2.258, allocations: 0.8566 MB / 0.916 GB, free: 90.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0384/2.296, allocations: 13.8 MB / 0.9295 GB, free: 88.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006699/2.303, allocations: 5.257 MB / 0.9346 GB, free: 87.35 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004334/2.307, allocations: 0.9297 MB / 0.9355 GB, free: 87.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004832/2.312, allocations: 3.062 MB / 0.9385 GB, free: 87.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.273e-06/2.312, allocations: 0 / 0.9385 GB, free: 87.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1691/2.481, allocations: 109.4 MB / 1.045 GB, free: 43.28 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/2.481, allocations: 232.2 kB / 1.046 GB, free: 42.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.248/7.73, allocations: 3.938 kB / 1.046 GB, free: 42.97 MB / 490.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase.fmu > Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase_res.mat does not exist to compare? outputFormat=mat