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.00103/0.00103, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001055, allocations: 90.03 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.254e-05/4.263e-05, allocations: 4 kB / 350.7 MB, free: 2.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1284, allocations: 51.49 MB / 402.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3808/0.5092, allocations: 115.6 MB / 0.5056 GB, free: 6.379 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.5095, allocations: 101.3 kB / 0.5057 GB, free: 6.324 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6717/1.181, allocations: 189.7 MB / 0.6909 GB, free: 48.17 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.181, allocations: 3.875 kB / 0.6909 GB, free: 48.17 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005721/1.182, allocations: 194.6 kB / 0.6911 GB, free: 48.13 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.02217/1.204, allocations: 7.673 MB / 0.6986 GB, free: 40.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/1.204, allocations: 8.031 kB / 0.6986 GB, free: 40.45 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004315/1.208, allocations: 1.095 MB / 0.6997 GB, free: 39.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/1.22, allocations: 1.914 MB / 0.7016 GB, free: 37.42 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01801/1.238, allocations: 7.002 MB / 0.7084 GB, free: 30.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000534/1.238, allocations: 0.594 MB / 0.709 GB, free: 29.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002886/1.241, allocations: 0.7928 MB / 0.7098 GB, free: 28.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02182/1.263, allocations: 10.76 MB / 0.7203 GB, free: 17.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002/1.263, allocations: 15.8 kB / 0.7203 GB, free: 17.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009639/1.264, allocations: 344 kB / 0.7206 GB, free: 17.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002201/1.264, allocations: 364.3 kB / 0.721 GB, free: 17.24 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01657/1.281, allocations: 8.999 MB / 0.7297 GB, free: 8.227 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.547/1.828, allocations: 34.7 MB / 0.7636 GB, free: 36.61 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01691/1.845, allocations: 20.86 MB / 0.784 GB, free: 20.82 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009711/1.855, allocations: 4.893 MB / 0.7888 GB, free: 20.76 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02062/1.875, allocations: 10.7 MB / 0.7992 GB, free: 19.21 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/1.875, allocations: 70.88 kB / 0.7993 GB, free: 19.17 MB / 442.8 MB Notification: Performance of pre-optimization done (n=317): time 5.31e-06/1.875, allocations: 0 / 0.7993 GB, free: 19.17 MB / 442.8 MB Notification: Performance of matching and sorting (n=323): time 0.01854/1.894, allocations: 10.52 MB / 0.8096 GB, free: 17.22 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/1.894, allocations: 83.42 kB / 0.8097 GB, free: 17.15 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006544/1.901, allocations: 3.84 MB / 0.8134 GB, free: 16.84 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006309/1.901, allocations: 84.61 kB / 0.8135 GB, free: 16.8 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002319/1.904, allocations: 3.552 MB / 0.817 GB, free: 15.34 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001374/1.905, allocations: 1.088 MB / 0.818 GB, free: 14.5 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/1.905, allocations: 79.12 kB / 0.8181 GB, free: 14.44 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.000234/1.906, allocations: 458.5 kB / 0.8185 GB, free: 14.07 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00261/1.908, allocations: 1.749 MB / 0.8202 GB, free: 13.37 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/1.911, allocations: 2.771 MB / 0.8229 GB, free: 11.44 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003423/1.915, allocations: 2.238 MB / 0.8251 GB, free: 10.56 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-05/1.915, allocations: 13.44 kB / 0.8251 GB, free: 10.55 MB / 442.8 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.009644/1.924, allocations: 6.051 MB / 0.8311 GB, free: 8.207 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/1.924, allocations: 19.41 kB / 0.8311 GB, free: 8.207 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-05/1.924, allocations: 29.94 kB / 0.8311 GB, free: 8.207 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002211/1.927, allocations: 0.978 MB / 0.8321 GB, free: 7.887 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003173/1.93, allocations: 0.7952 MB / 0.8328 GB, free: 7.859 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/1.945, allocations: 16.25 MB / 0.8487 GB, free: 11.29 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004156/1.949, allocations: 186.2 kB / 0.8489 GB, free: 11.22 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004396/1.949, allocations: 160 kB / 0.849 GB, free: 11.19 MB / 458.8 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.0007527/1.95, allocations: 342 kB / 0.8494 GB, free: 10.95 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007982/1.951, allocations: 457.6 kB / 0.8498 GB, free: 10.71 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009753/1.961, allocations: 5.734 MB / 0.8554 GB, free: 8.266 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/1.961, allocations: 35.06 kB / 0.8554 GB, free: 8.262 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.689e-05/1.961, allocations: 20.59 kB / 0.8554 GB, free: 8.262 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.901e-05/1.961, allocations: 13.31 kB / 0.8555 GB, free: 8.262 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02202/1.983, allocations: 12.83 MB / 0.868 GB, free: 2.82 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/1.983, allocations: 6.969 kB / 0.868 GB, free: 2.82 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/1.985, allocations: 374.6 kB / 0.8683 GB, free: 2.805 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003772/1.988, allocations: 1.543 MB / 0.8699 GB, free: 2.324 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003201/1.989, allocations: 88.45 kB / 0.8699 GB, free: 2.273 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02692/2.016, allocations: 25.29 MB / 0.8946 GB, free: 13.03 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/2.016, allocations: 7.938 kB / 0.8946 GB, free: 13.02 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/2.029, allocations: 8.535 MB / 0.903 GB, free: 5.102 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003234/2.032, allocations: 0.9626 MB / 0.9039 GB, free: 4.215 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001031/2.034, allocations: 78.05 kB / 0.904 GB, free: 4.145 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002508/2.036, allocations: 186.6 kB / 0.9042 GB, free: 3.996 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008226/2.037, allocations: 324.6 kB / 0.9045 GB, free: 3.797 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/2.037, allocations: 97.23 kB / 0.9046 GB, free: 3.715 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005179/2.042, allocations: 2.931 MB / 0.9074 GB, free: 1.078 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.9e-07/2.042, allocations: 0 / 0.9074 GB, free: 1.078 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.00937/2.052, allocations: 1.703 MB / 0.9091 GB, free: 0 / 490.8 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.01667/2.068, allocations: 10.32 MB / 0.9192 GB, free: 6.469 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.009075/2.078, allocations: 5.551 MB / 0.9246 GB, free: 1.219 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/2.078, allocations: 0 / 0.9246 GB, free: 1.219 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.2706/2.348, allocations: 4.19 MB / 0.9287 GB, free: 104.9 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006065/2.354, allocations: 1.175 MB / 0.9298 GB, free: 104.8 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02903/2.383, allocations: 14.21 MB / 0.9437 GB, free: 102.2 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004829/2.388, allocations: 5.253 MB / 0.9488 GB, free: 101.3 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.004192/2.392, allocations: 0.9968 MB / 0.9498 GB, free: 101.2 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00458/2.397, allocations: 3.03 MB / 0.9528 GB, free: 101.2 MB / 0.4949 GB Notification: Performance of SimCode: time 1.092e-06/2.397, allocations: 2.188 kB / 0.9528 GB, free: 101.2 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1946/2.592, allocations: 128.5 MB / 1.078 GB, free: 34.05 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/2.592, allocations: 239.8 kB / 1.079 GB, free: 33.71 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.045/8.637, allocations: 7.281 kB / 1.079 GB, free: 33.71 MB / 0.4949 GB (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