Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 180.7 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008819/0.0008819, allocations: 89.7 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.0002971, allocations: 4 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2481, allocations: 50.42 MB / 401.6 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.3744, allocations: 110.7 MB / 0.5003 GB, free: 1.594 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.3747, allocations: 93.17 kB / 0.5004 GB, free: 1.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3392/0.714, allocations: 65.44 MB / 0.5643 GB, free: 49.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.714, allocations: 0 / 0.5643 GB, free: 49.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003454/0.7144, allocations: 87.94 kB / 0.5644 GB, free: 49.86 MB / 378.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.009706/0.7241, allocations: 3.678 MB / 0.5679 GB, free: 46.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.7241, allocations: 16.03 kB / 0.568 GB, free: 46.1 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001556/0.7257, allocations: 446.4 kB / 0.5684 GB, free: 45.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.7277, allocations: 451 kB / 0.5688 GB, free: 45.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0062/0.734, allocations: 2.387 MB / 0.5711 GB, free: 42.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002721/0.7343, allocations: 230.1 kB / 0.5714 GB, free: 42.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/0.7354, allocations: 307.9 kB / 0.5717 GB, free: 42.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009352/0.7448, allocations: 4.33 MB / 0.5759 GB, free: 37.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/0.745, allocations: 11.84 kB / 0.5759 GB, free: 37.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007263/0.7457, allocations: 132 kB / 0.576 GB, free: 37.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.7458, allocations: 125.9 kB / 0.5761 GB, free: 37.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007225/0.7531, allocations: 3.607 MB / 0.5797 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02289/0.776, allocations: 13.58 MB / 0.5929 GB, free: 19.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003179/0.7792, allocations: 2.957 MB / 0.5958 GB, free: 16.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003169/0.7795, allocations: 143 kB / 0.596 GB, free: 16.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.7796, allocations: 52.56 kB / 0.596 GB, free: 16.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=167): time 4.398e-06/0.7796, allocations: 4 kB / 0.596 GB, free: 16.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=183): time 0.01737/0.797, allocations: 9.418 MB / 0.6052 GB, free: 6.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.7971, allocations: 81.3 kB / 0.6053 GB, free: 6.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003711/0.8008, allocations: 2.061 MB / 0.6073 GB, free: 4.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002663/0.8011, allocations: 57.7 kB / 0.6074 GB, free: 4.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008121/0.8019, allocations: 1.458 MB / 0.6088 GB, free: 3.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005709/0.8025, allocations: 0.6161 MB / 0.6094 GB, free: 2.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.8027, allocations: 36 kB / 0.6094 GB, free: 2.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.8028, allocations: 389.9 kB / 0.6098 GB, free: 2.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.8044, allocations: 1.144 MB / 0.6109 GB, free: 1.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.8065, allocations: 1.564 MB / 0.6124 GB, free: 15.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002708/0.8092, allocations: 1.353 MB / 0.6137 GB, free: 14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.082e-05/0.8093, allocations: 8 kB / 0.6138 GB, free: 14 MB / 394.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.007279/0.8166, allocations: 3.624 MB / 0.6173 GB, free: 10.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.8166, allocations: 8 kB / 0.6173 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/0.8167, allocations: 15.94 kB / 0.6173 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002221/0.8189, allocations: 0.7946 MB / 0.6181 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/0.821, allocations: 455.3 kB / 0.6185 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.8319, allocations: 10.53 MB / 0.6288 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/0.8346, allocations: 127.8 kB / 0.6289 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004579/0.8351, allocations: 72 kB / 0.629 GB, free: 13.67 MB / 410.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 () * Number of clocked 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.002616/0.8377, allocations: 1.083 MB / 0.6301 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008482/0.8386, allocations: 253 kB / 0.6303 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006597/0.8452, allocations: 3.399 MB / 0.6336 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.8453, allocations: 20 kB / 0.6336 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.318e-05/0.8453, allocations: 4 kB / 0.6336 GB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.8453, allocations: 7.969 kB / 0.6336 GB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/0.8588, allocations: 6.927 MB / 0.6404 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.8589, allocations: 3.938 kB / 0.6404 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.8604, allocations: 315.8 kB / 0.6407 GB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002555/0.8629, allocations: 0.9275 MB / 0.6416 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/0.8631, allocations: 39.98 kB / 0.6417 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/0.8764, allocations: 13.76 MB / 0.6551 GB, free: 1.812 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.8765, allocations: 4.031 kB / 0.6551 GB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2132/1.09, allocations: 5.141 MB / 0.6601 GB, free: 95.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.091, allocations: 0.5782 MB / 0.6607 GB, free: 95.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003497/1.092, allocations: 40.16 kB / 0.6607 GB, free: 95.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/1.093, allocations: 131.4 kB / 0.6609 GB, free: 95.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003447/1.093, allocations: 163 kB / 0.661 GB, free: 95.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.093, allocations: 56.62 kB / 0.6611 GB, free: 95.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002124/1.096, allocations: 1.59 MB / 0.6626 GB, free: 95.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.096, allocations: 0 / 0.6626 GB, free: 95.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002307/1.098, allocations: 0.7371 MB / 0.6633 GB, free: 95.13 MB / 426.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 () * Number of clocked 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.006847/1.105, allocations: 6.423 MB / 0.6696 GB, free: 93.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004268/1.109, allocations: 3.648 MB / 0.6732 GB, free: 92.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.109, allocations: 0 / 0.6732 GB, free: 92.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003154/1.112, allocations: 2.571 MB / 0.6757 GB, free: 91.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/1.115, allocations: 0.6645 MB / 0.6763 GB, free: 91.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03506/1.15, allocations: 29 MB / 0.7047 GB, free: 76.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003199/1.154, allocations: 2.577 MB / 0.7072 GB, free: 75.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002618/1.156, allocations: 0.5842 MB / 0.7077 GB, free: 75.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/1.158, allocations: 1.25 MB / 0.709 GB, free: 74.14 MB / 426.7 MB Notification: Performance of SimCode: time 7.243e-06/1.158, allocations: 0 / 0.709 GB, free: 74.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0906/1.249, allocations: 67.69 MB / 0.7751 GB, free: 22.04 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/1.249, allocations: 219.2 kB / 0.7753 GB, free: 21.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.758/5.007, allocations: 0 / 0.7753 GB, free: 21.8 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat does not exist to compare? outputFormat=mat