Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001737/0.001742, allocations: 198.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001114/0.001114, allocations: 102.2 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.266e-05/2.293e-05, allocations: 4 kB / 343.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 51.47 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3656/0.482, allocations: 109.2 MB / 0.4927 GB, free: 164 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.4824, allocations: 95.62 kB / 0.4928 GB, free: 112 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1995/0.6819, allocations: 81.96 MB / 0.5728 GB, free: 2.488 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.682, allocations: 3.938 kB / 0.5728 GB, free: 2.484 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002934/0.6823, allocations: 71.94 kB / 0.5729 GB, free: 2.414 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.3433/1.026, allocations: 3.19 MB / 0.576 GB, free: 69.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.931e-05/1.026, allocations: 9.156 kB / 0.576 GB, free: 69.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008693/1.034, allocations: 0.7222 MB / 0.5767 GB, free: 69.78 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01396/1.048, allocations: 3.313 MB / 0.58 GB, free: 69.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/1.049, allocations: 100.2 kB / 0.5801 GB, free: 69.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/1.051, allocations: 189.4 kB / 0.5802 GB, free: 69.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01162/1.062, allocations: 3.104 MB / 0.5833 GB, free: 69.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/1.076, allocations: 3.604 MB / 0.5868 GB, free: 69.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001287/1.076, allocations: 5.688 kB / 0.5868 GB, free: 69.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005701/1.076, allocations: 5.641 kB / 0.5868 GB, free: 69.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/1.077, allocations: 140.1 kB / 0.5869 GB, free: 69.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03238/1.109, allocations: 12.7 MB / 0.5993 GB, free: 66.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008598/1.118, allocations: 7.012 MB / 0.6062 GB, free: 61.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004425/1.122, allocations: 1.612 MB / 0.6078 GB, free: 61.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009929/1.132, allocations: 4.09 MB / 0.6118 GB, free: 60.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/1.132, allocations: 48.94 kB / 0.6118 GB, free: 60.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 4.638e-06/1.132, allocations: 0 / 0.6118 GB, free: 60.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=121): time 0.01426/1.146, allocations: 4.347 MB / 0.6161 GB, free: 59.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/1.146, allocations: 68.69 kB / 0.6161 GB, free: 59.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/1.149, allocations: 1.211 MB / 0.6173 GB, free: 58.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002786/1.15, allocations: 26.86 kB / 0.6173 GB, free: 58.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001277/1.151, allocations: 1.412 MB / 0.6187 GB, free: 58.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005469/1.152, allocations: 413.3 kB / 0.6191 GB, free: 57.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/1.152, allocations: 2.625 kB / 0.6191 GB, free: 57.85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/1.152, allocations: 365.6 kB / 0.6194 GB, free: 57.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/1.153, allocations: 0.577 MB / 0.62 GB, free: 57.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/1.155, allocations: 1.031 MB / 0.621 GB, free: 57.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003452/1.159, allocations: 0.9806 MB / 0.622 GB, free: 56.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.952e-05/1.159, allocations: 7.5 kB / 0.622 GB, free: 56.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00764/1.166, allocations: 2.316 MB / 0.6242 GB, free: 56.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/1.166, allocations: 13.62 kB / 0.6243 GB, free: 56.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.305e-05/1.166, allocations: 17.08 kB / 0.6243 GB, free: 56.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/1.168, allocations: 309 kB / 0.6246 GB, free: 55.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/1.17, allocations: 347.2 kB / 0.6249 GB, free: 55.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007555/1.177, allocations: 5.87 MB / 0.6306 GB, free: 51.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/1.18, allocations: 52.28 kB / 0.6307 GB, free: 51.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002781/1.18, allocations: 65.66 kB / 0.6307 GB, free: 51.17 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * 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: 3 * 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: 3 {(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004691/1.181, allocations: 146.1 kB / 0.6309 GB, free: 51.05 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00693/1.188, allocations: 2.068 MB / 0.6329 GB, free: 50.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007265/1.188, allocations: 174.3 kB / 0.6331 GB, free: 50.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007552/1.196, allocations: 2.204 MB / 0.6352 GB, free: 49.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/1.196, allocations: 12.06 kB / 0.6352 GB, free: 49.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-05/1.196, allocations: 16.14 kB / 0.6352 GB, free: 49.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.497e-05/1.196, allocations: 6 kB / 0.6353 GB, free: 49.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/1.21, allocations: 4.494 MB / 0.6396 GB, free: 47.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/1.21, allocations: 2.062 kB / 0.6396 GB, free: 47.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.211, allocations: 166.3 kB / 0.6398 GB, free: 47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001993/1.213, allocations: 480.1 kB / 0.6403 GB, free: 46.85 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/1.213, allocations: 20.17 kB / 0.6403 GB, free: 46.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/1.226, allocations: 10.08 MB / 0.6501 GB, free: 38.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/1.226, allocations: 5.469 kB / 0.6501 GB, free: 38.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008139/1.234, allocations: 3.148 MB / 0.6532 GB, free: 36.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/1.236, allocations: 387.7 kB / 0.6536 GB, free: 36.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003499/1.236, allocations: 15.38 kB / 0.6536 GB, free: 36.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/1.237, allocations: 51.98 kB / 0.6536 GB, free: 36.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003643/1.238, allocations: 99.11 kB / 0.6537 GB, free: 36.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/1.238, allocations: 42.55 kB / 0.6538 GB, free: 36.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001982/1.24, allocations: 0.9103 MB / 0.6547 GB, free: 36.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.41e-07/1.24, allocations: 3.75 kB / 0.6547 GB, free: 36.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003549/1.244, allocations: 0.5185 MB / 0.6552 GB, free: 36.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 8,(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.008234/1.252, allocations: 4.333 MB / 0.6594 GB, free: 33.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004022/1.256, allocations: 1.927 MB / 0.6613 GB, free: 32.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.256, allocations: 5.156 kB / 0.6613 GB, free: 32.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002765/1.259, allocations: 1.436 MB / 0.6627 GB, free: 31.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003222/1.262, allocations: 370.4 kB / 0.663 GB, free: 31.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/1.278, allocations: 5.092 MB / 0.668 GB, free: 29.49 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002624/1.281, allocations: 2.345 MB / 0.6703 GB, free: 28.42 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002393/1.283, allocations: 347.7 kB / 0.6706 GB, free: 28.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002074/1.285, allocations: 1.088 MB / 0.6717 GB, free: 27.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.343e-06/1.285, allocations: 0 / 0.6717 GB, free: 27.45 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1212/1.406, allocations: 42.32 MB / 0.713 GB, free: 18.64 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/1.407, allocations: 180.1 kB / 0.7132 GB, free: 18.45 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.372/4.779, allocations: 3.516 kB / 0.7132 GB, free: 18.45 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat does not exist to compare? outputFormat=mat