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.001925/0.001925, 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.408/1.408, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009017/0.0009015, allocations: 91.34 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.829e-05/3.85e-05, allocations: 7.984 kB / 350.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3541/0.4574, allocations: 111.4 MB / 0.5015 GB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.4578, allocations: 85.19 kB / 0.5016 GB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1709/0.6287, allocations: 65.78 MB / 0.5659 GB, free: 9.539 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6287, allocations: 4 kB / 0.5659 GB, free: 9.535 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002655/0.629, allocations: 87.92 kB / 0.566 GB, free: 9.449 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00733/0.6363, allocations: 3.27 MB / 0.5691 GB, free: 6.121 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.6364, allocations: 16.03 kB / 0.5692 GB, free: 6.105 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007503/0.6372, allocations: 442.4 kB / 0.5696 GB, free: 5.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.6386, allocations: 487 kB / 0.57 GB, free: 5.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004454/0.6431, allocations: 2.371 MB / 0.5724 GB, free: 2.758 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.6432, allocations: 226.2 kB / 0.5726 GB, free: 2.535 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004896/0.6437, allocations: 307.9 kB / 0.5729 GB, free: 2.234 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2664/0.9101, allocations: 4.234 MB / 0.577 GB, free: 79.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.908e-05/0.9102, allocations: 11.06 kB / 0.577 GB, free: 79.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003545/0.9106, allocations: 132.8 kB / 0.5771 GB, free: 79.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.9108, allocations: 123.8 kB / 0.5773 GB, free: 79.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005992/0.9168, allocations: 3.476 MB / 0.5807 GB, free: 79.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03007/0.9469, allocations: 13.58 MB / 0.5939 GB, free: 76.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004347/0.9513, allocations: 2.883 MB / 0.5967 GB, free: 75.44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003162/0.9545, allocations: 1.587 MB / 0.5983 GB, free: 75.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003888/0.9549, allocations: 146.9 kB / 0.5984 GB, free: 75.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.955, allocations: 55.09 kB / 0.5985 GB, free: 75.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=167): time 5.44e-06/0.955, allocations: 0 / 0.5985 GB, free: 75.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=183): time 0.0201/0.9751, allocations: 7.289 MB / 0.6056 GB, free: 74.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.9752, allocations: 75.77 kB / 0.6057 GB, free: 74.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005193/0.9804, allocations: 2.039 MB / 0.6077 GB, free: 74.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004551/0.9809, allocations: 60.11 kB / 0.6077 GB, free: 73.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001608/0.9825, allocations: 1.448 MB / 0.6091 GB, free: 73.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009833/0.9835, allocations: 0.6143 MB / 0.6097 GB, free: 73.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.9837, allocations: 39.22 kB / 0.6098 GB, free: 73.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002369/0.9839, allocations: 385.4 kB / 0.6101 GB, free: 72.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002681/0.9866, allocations: 1.079 MB / 0.6112 GB, free: 72.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002901/0.9895, allocations: 1.486 MB / 0.6126 GB, free: 72.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002908/0.9925, allocations: 1.297 MB / 0.6139 GB, free: 71.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/0.9925, allocations: 3.312 kB / 0.6139 GB, free: 71.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.009497/1.002, allocations: 3.482 MB / 0.6173 GB, free: 70.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/1.002, allocations: 13.47 kB / 0.6173 GB, free: 70.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.23e-05/1.002, allocations: 15.58 kB / 0.6173 GB, free: 70.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003022/1.005, allocations: 0.8012 MB / 0.6181 GB, free: 70.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003047/1.008, allocations: 467.8 kB / 0.6186 GB, free: 70.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/1.022, allocations: 10.25 MB / 0.6286 GB, free: 62.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003917/1.026, allocations: 135 kB / 0.6287 GB, free: 62.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004555/1.027, allocations: 77.22 kB / 0.6288 GB, free: 62.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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.0006335/1.027, allocations: 221.8 kB / 0.629 GB, free: 62.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009666/1.028, allocations: 245.8 kB / 0.6292 GB, free: 61.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008728/1.037, allocations: 3.258 MB / 0.6324 GB, free: 60.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/1.037, allocations: 19.44 kB / 0.6324 GB, free: 60.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/1.037, allocations: 3.969 kB / 0.6324 GB, free: 60.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.318e-05/1.037, allocations: 15.22 kB / 0.6324 GB, free: 60.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/1.052, allocations: 6.823 MB / 0.6391 GB, free: 57.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.053, allocations: 0 / 0.6391 GB, free: 57.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/1.054, allocations: 314.5 kB / 0.6394 GB, free: 57.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003153/1.058, allocations: 0.9203 MB / 0.6403 GB, free: 57.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/1.058, allocations: 46.48 kB / 0.6403 GB, free: 57.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01409/1.072, allocations: 13.46 MB / 0.6535 GB, free: 46.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/1.072, allocations: 10.73 kB / 0.6535 GB, free: 46.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/1.082, allocations: 4.986 MB / 0.6584 GB, free: 44.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002128/1.084, allocations: 0.5761 MB / 0.6589 GB, free: 44.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005875/1.085, allocations: 41.94 kB / 0.659 GB, free: 44.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/1.087, allocations: 131.2 kB / 0.6591 GB, free: 44.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005409/1.088, allocations: 166.2 kB / 0.6593 GB, free: 44.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/1.088, allocations: 55.03 kB / 0.6593 GB, free: 44.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003125/1.091, allocations: 1.573 MB / 0.6608 GB, free: 43.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.091, allocations: 0 / 0.6608 GB, free: 43.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0037/1.095, allocations: 0.7485 MB / 0.6616 GB, free: 43.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (149): * Single equations (assignments): 141 * 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.01022/1.105, allocations: 6.379 MB / 0.6678 GB, free: 40.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006617/1.111, allocations: 3.506 MB / 0.6712 GB, free: 38.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.111, allocations: 5.031 kB / 0.6712 GB, free: 38.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004208/1.116, allocations: 2.494 MB / 0.6737 GB, free: 36.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004599/1.12, allocations: 0.6699 MB / 0.6743 GB, free: 36.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01625/1.137, allocations: 6.553 MB / 0.6807 GB, free: 34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002886/1.14, allocations: 2.583 MB / 0.6833 GB, free: 32.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002887/1.142, allocations: 0.5894 MB / 0.6838 GB, free: 32.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/1.144, allocations: 1.244 MB / 0.685 GB, free: 31.85 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/1.144, allocations: 0 / 0.685 GB, free: 31.85 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3805/1.525, allocations: 68.01 MB / 0.7515 GB, free: 80.89 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/1.525, allocations: 193.2 kB / 0.7516 GB, free: 80.66 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.818/5.343, allocations: 2.25 kB / 0.7516 GB, free: 80.66 MB / 458.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