Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001831/0.001831, 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.359/1.359, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008442/0.0008442, allocations: 99.34 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.128e-05/2.112e-05, allocations: 4 kB / 343.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1204, allocations: 51.48 MB / 395.3 MB, free: 4.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.441/0.5614, allocations: 110.8 MB / 0.4942 GB, free: 14.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.5617, allocations: 82.14 kB / 0.4943 GB, free: 14.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1923/0.754, allocations: 64.91 MB / 0.5577 GB, free: 2.238 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.7541, allocations: 4 kB / 0.5577 GB, free: 2.234 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005032/0.7546, allocations: 87.94 kB / 0.5578 GB, free: 2.148 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01432/0.7689, allocations: 3.272 MB / 0.561 GB, free: 14.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.769, allocations: 16.03 kB / 0.561 GB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/0.7721, allocations: 483 kB / 0.5614 GB, free: 14.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007512/0.7797, allocations: 2.371 MB / 0.5637 GB, free: 11.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.7799, allocations: 100 kB / 0.5638 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0013/0.7812, allocations: 183.9 kB / 0.564 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008798/0.7901, allocations: 3.288 MB / 0.5672 GB, free: 8.332 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/0.8016, allocations: 3.787 MB / 0.5709 GB, free: 4.379 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001502/0.8018, allocations: 7.906 kB / 0.5709 GB, free: 4.371 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000804/0.8026, allocations: 8 kB / 0.5709 GB, free: 4.363 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/0.8028, allocations: 130 kB / 0.5711 GB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2732/1.076, allocations: 12.96 MB / 0.5837 GB, free: 78.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/1.079, allocations: 2.815 MB / 0.5865 GB, free: 77.24 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/1.081, allocations: 1.459 MB / 0.5879 GB, free: 77.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003051/1.081, allocations: 148.7 kB / 0.588 GB, free: 77.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/1.081, allocations: 53.94 kB / 0.5881 GB, free: 77.08 MB / 442.7 MB Notification: Performance of pre-optimization done (n=167): time 4.058e-06/1.081, allocations: 0 / 0.5881 GB, free: 77.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=183): time 0.009717/1.091, allocations: 6.288 MB / 0.5942 GB, free: 76.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/1.091, allocations: 73.12 kB / 0.5943 GB, free: 76.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/1.093, allocations: 1.704 MB / 0.596 GB, free: 75.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/1.093, allocations: 25.7 kB / 0.596 GB, free: 75.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007751/1.094, allocations: 1.466 MB / 0.5974 GB, free: 75.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003797/1.094, allocations: 0.5906 MB / 0.598 GB, free: 75.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/1.094, allocations: 0 / 0.598 GB, free: 75.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/1.095, allocations: 389 kB / 0.5984 GB, free: 74.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/1.096, allocations: 1.047 MB / 0.5994 GB, free: 74.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/1.097, allocations: 1.435 MB / 0.6008 GB, free: 74.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/1.099, allocations: 1.25 MB / 0.602 GB, free: 74.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/1.099, allocations: 3.281 kB / 0.602 GB, free: 74.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004817/1.104, allocations: 3.279 MB / 0.6052 GB, free: 74.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/1.104, allocations: 13.28 kB / 0.6052 GB, free: 74.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/1.104, allocations: 9.156 kB / 0.6052 GB, free: 74.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/1.106, allocations: 0.7726 MB / 0.606 GB, free: 73.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/1.107, allocations: 466.4 kB / 0.6064 GB, free: 73.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007902/1.115, allocations: 9.84 MB / 0.6161 GB, free: 67.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/1.118, allocations: 83.91 kB / 0.6161 GB, free: 67.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003873/1.119, allocations: 78.72 kB / 0.6162 GB, free: 67.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005585/1.119, allocations: 153.8 kB / 0.6164 GB, free: 67.76 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007044/1.126, allocations: 2.902 MB / 0.6192 GB, free: 67.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008797/1.127, allocations: 223 kB / 0.6194 GB, free: 67.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005619/1.133, allocations: 3.093 MB / 0.6224 GB, free: 65.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.201e-05/1.133, allocations: 18.19 kB / 0.6224 GB, free: 65.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/1.133, allocations: 7.062 kB / 0.6224 GB, free: 65.97 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.133, allocations: 10.27 kB / 0.6225 GB, free: 65.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/1.145, allocations: 6.244 MB / 0.6286 GB, free: 63.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.145, allocations: 2.031 kB / 0.6286 GB, free: 63.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/1.147, allocations: 312.6 kB / 0.6289 GB, free: 63.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002894/1.15, allocations: 0.9045 MB / 0.6297 GB, free: 63.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/1.15, allocations: 12.31 kB / 0.6297 GB, free: 63.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01264/1.162, allocations: 12.95 MB / 0.6424 GB, free: 52.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/1.162, allocations: 0 / 0.6424 GB, free: 52.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007298/1.17, allocations: 4.771 MB / 0.6471 GB, free: 50.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/1.171, allocations: 0.5403 MB / 0.6476 GB, free: 50.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003404/1.172, allocations: 13.12 kB / 0.6476 GB, free: 50.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.173, allocations: 106.1 kB / 0.6477 GB, free: 50.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004738/1.173, allocations: 157.6 kB / 0.6478 GB, free: 50.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.174, allocations: 55.73 kB / 0.6479 GB, free: 50.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00195/1.176, allocations: 1.285 MB / 0.6492 GB, free: 49.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.176, allocations: 3.375 kB / 0.6492 GB, free: 49.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002386/1.178, allocations: 0.6443 MB / 0.6498 GB, free: 49.91 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006347/1.184, allocations: 6.018 MB / 0.6557 GB, free: 46.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004198/1.189, allocations: 3.371 MB / 0.659 GB, free: 45.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.189, allocations: 0 / 0.659 GB, free: 45.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002838/1.191, allocations: 2.391 MB / 0.6613 GB, free: 43.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/1.194, allocations: 0.5255 MB / 0.6618 GB, free: 43.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/1.206, allocations: 6.325 MB / 0.668 GB, free: 41.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001857/1.208, allocations: 2.579 MB / 0.6705 GB, free: 40.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001936/1.21, allocations: 0.5537 MB / 0.671 GB, free: 40.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/1.211, allocations: 1.234 MB / 0.6722 GB, free: 39.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.162e-06/1.211, allocations: 0 / 0.6722 GB, free: 39.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09839/1.31, allocations: 57.38 MB / 0.7283 GB, free: 5.496 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/1.31, allocations: 168.5 kB / 0.7284 GB, free: 5.293 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.682/4.992, allocations: 0 / 0.7284 GB, free: 5.293 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat does not exist to compare? outputFormat=mat