Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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_DOL,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001315/0.001314, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 227.2 MB / 245 MB, free: 5.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008893/0.0008893, allocations: 106.2 kB / 297.3 MB, free: 6.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002293/0.0002295, allocations: 4 kB / 358 MB, free: 9.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2061, allocations: 51.49 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3146/0.5208, allocations: 124.5 MB / 0.5215 GB, free: 91.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.5211, allocations: 103.4 kB / 0.5216 GB, free: 91.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2478/0.7689, allocations: 121 MB / 0.6398 GB, free: 1.492 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7689, allocations: 0 / 0.6398 GB, free: 1.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004183/0.7694, allocations: 131.8 kB / 0.6399 GB, free: 1.363 MB / 410.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.01602/0.7854, allocations: 5.481 MB / 0.6453 GB, free: 11.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.7855, allocations: 8.031 kB / 0.6453 GB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002743/0.7882, allocations: 0.7077 MB / 0.646 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005429/0.7936, allocations: 1.055 MB / 0.647 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/0.8058, allocations: 4.645 MB / 0.6515 GB, free: 5.293 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003637/0.8062, allocations: 386.3 kB / 0.6519 GB, free: 4.914 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/0.8076, allocations: 0.5115 MB / 0.6524 GB, free: 4.402 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/0.8202, allocations: 6.827 MB / 0.6591 GB, free: 13.37 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001181/0.8203, allocations: 23.77 kB / 0.6591 GB, free: 13.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005027/0.8208, allocations: 216 kB / 0.6593 GB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002102/0.821, allocations: 234.2 kB / 0.6595 GB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.8311, allocations: 5.596 MB / 0.665 GB, free: 7.297 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.254/1.085, allocations: 21.5 MB / 0.686 GB, free: 51.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006218/1.091, allocations: 8.748 MB / 0.6945 GB, free: 46.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008669/1.1, allocations: 5.443 MB / 0.6998 GB, free: 45.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/1.1, allocations: 62.53 kB / 0.6999 GB, free: 45.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=230): time 3.666e-06/1.1, allocations: 0 / 0.6999 GB, free: 45.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.02084/1.121, allocations: 11.69 MB / 0.7113 GB, free: 42.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/1.121, allocations: 76.75 kB / 0.7114 GB, free: 42.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/1.125, allocations: 2.616 MB / 0.7139 GB, free: 42.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002666/1.125, allocations: 71.92 kB / 0.714 GB, free: 42.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001128/1.126, allocations: 2.291 MB / 0.7163 GB, free: 41.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005688/1.127, allocations: 0.85 MB / 0.7171 GB, free: 41.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/1.127, allocations: 58.22 kB / 0.7171 GB, free: 41.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/1.127, allocations: 424.3 kB / 0.7175 GB, free: 41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/1.129, allocations: 1.384 MB / 0.7189 GB, free: 41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/1.131, allocations: 2.122 MB / 0.721 GB, free: 40.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/1.133, allocations: 1.736 MB / 0.7227 GB, free: 40.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/1.133, allocations: 11.67 kB / 0.7227 GB, free: 40.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006643/1.14, allocations: 4.706 MB / 0.7273 GB, free: 39.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/1.14, allocations: 14.09 kB / 0.7273 GB, free: 39.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/1.14, allocations: 26.25 kB / 0.7273 GB, free: 39.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/1.142, allocations: 0.7564 MB / 0.728 GB, free: 39.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/1.144, allocations: 0.6505 MB / 0.7287 GB, free: 39.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008948/1.153, allocations: 13.57 MB / 0.7419 GB, free: 30.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003272/1.156, allocations: 159.9 kB / 0.7421 GB, free: 30.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000532/1.157, allocations: 124.5 kB / 0.7422 GB, free: 30.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 320 * 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%) 8,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003789/1.16, allocations: 1.602 MB / 0.7438 GB, free: 29.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/1.162, allocations: 336.3 kB / 0.7441 GB, free: 29.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007182/1.169, allocations: 4.313 MB / 0.7483 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/1.169, allocations: 22.62 kB / 0.7483 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/1.169, allocations: 10.09 kB / 0.7483 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/1.169, allocations: 15.11 kB / 0.7483 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/1.183, allocations: 9.314 MB / 0.7574 GB, free: 23.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.183, allocations: 6.969 kB / 0.7574 GB, free: 23.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/1.185, allocations: 406.9 kB / 0.7578 GB, free: 23.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002173/1.187, allocations: 0.9354 MB / 0.7587 GB, free: 22.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/1.187, allocations: 65.7 kB / 0.7588 GB, free: 22.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/1.2, allocations: 16.8 MB / 0.7752 GB, free: 9.395 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/1.2, allocations: 10.34 kB / 0.7752 GB, free: 9.395 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008756/1.208, allocations: 6.582 MB / 0.7817 GB, free: 6.105 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/1.211, allocations: 0.7088 MB / 0.7823 GB, free: 5.656 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006051/1.211, allocations: 58.06 kB / 0.7824 GB, free: 5.621 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/1.213, allocations: 144.5 kB / 0.7825 GB, free: 5.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004513/1.213, allocations: 207.3 kB / 0.7827 GB, free: 5.559 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/1.213, allocations: 73.27 kB / 0.7828 GB, free: 5.543 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002843/1.216, allocations: 2.001 MB / 0.7848 GB, free: 4.789 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.216, allocations: 7.188 kB / 0.7848 GB, free: 4.789 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003636/1.22, allocations: 1.04 MB / 0.7858 GB, free: 4.684 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 () * Number of clocked 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): 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%) 8,(1,100.0%) 1,(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.008862/1.229, allocations: 8.459 MB / 0.794 GB, free: 15.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006558/1.235, allocations: 4.668 MB / 0.7986 GB, free: 13.54 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.235, allocations: 3.562 kB / 0.7986 GB, free: 13.54 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004343/1.24, allocations: 3.104 MB / 0.8016 GB, free: 11.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004/1.244, allocations: 0.8468 MB / 0.8025 GB, free: 10.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2829/1.527, allocations: 45.73 MB / 0.8471 GB, free: 100.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00343/1.53, allocations: 3.534 MB / 0.8506 GB, free: 100 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002792/1.533, allocations: 0.7798 MB / 0.8513 GB, free: 99.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00223/1.535, allocations: 1.946 MB / 0.8532 GB, free: 99.98 MB / 490.7 MB Notification: Performance of SimCode: time 1.302e-06/1.535, allocations: 2.094 kB / 0.8532 GB, free: 99.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/1.652, allocations: 88.19 MB / 0.9394 GB, free: 80.01 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/1.652, allocations: 234.9 kB / 0.9396 GB, free: 79.77 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.228/5.881, allocations: 0 / 0.9396 GB, free: 79.77 MB / 490.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat