Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",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.001892/0.001892, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 221.5 MB / 230.3 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009355/0.0009355, allocations: 99.94 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.84e-05/1.841e-05, allocations: 4 kB / 337.2 MB, free: 9.914 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.08976, allocations: 50.41 MB / 387.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3214/0.4112, allocations: 103.5 MB / 491.1 MB, free: 7.148 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.4115, allocations: 87.94 kB / 491.2 MB, free: 7.062 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1149/0.5264, allocations: 44.16 MB / 0.5228 GB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5264, allocations: 0 / 0.5228 GB, free: 10.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000141/0.5265, allocations: 59.94 kB / 0.5228 GB, free: 10.52 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004441/0.531, allocations: 2.2 MB / 0.525 GB, free: 8.258 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.531, allocations: 8.031 kB / 0.525 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008918/0.5319, allocations: 292.8 kB / 0.5253 GB, free: 7.961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.5347, allocations: 1.542 MB / 0.5268 GB, free: 6.359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.731e-05/0.5348, allocations: 64 kB / 0.5268 GB, free: 6.297 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/0.5351, allocations: 123.9 kB / 0.527 GB, free: 6.176 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003401/0.5385, allocations: 2.015 MB / 0.5289 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003788/0.5423, allocations: 2.351 MB / 0.5312 GB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.488e-05/0.5424, allocations: 4 kB / 0.5312 GB, free: 1.668 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/0.5425, allocations: 0 / 0.5312 GB, free: 1.668 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.604e-05/0.5426, allocations: 95.92 kB / 0.5313 GB, free: 1.574 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/0.5559, allocations: 8.038 MB / 0.5392 GB, free: 9.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.5579, allocations: 1.726 MB / 0.5409 GB, free: 7.484 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.5591, allocations: 0.8678 MB / 0.5417 GB, free: 6.609 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/0.5594, allocations: 138.3 kB / 0.5418 GB, free: 6.457 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.5594, allocations: 43.88 kB / 0.5419 GB, free: 6.402 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 2.765e-06/0.5594, allocations: 0 / 0.5419 GB, free: 6.402 MB / 426.7 MB Notification: Performance of matching and sorting (n=123): time 0.007646/0.5671, allocations: 4.359 MB / 0.5461 GB, free: 1.984 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.5672, allocations: 64.72 kB / 0.5462 GB, free: 1.906 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.5687, allocations: 1.092 MB / 0.5473 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.086e-05/0.5688, allocations: 29.64 kB / 0.5473 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.183/0.7518, allocations: 0.976 MB / 0.5482 GB, free: 109 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005002/0.7524, allocations: 407 kB / 0.5486 GB, free: 108.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.7525, allocations: 0 / 0.5486 GB, free: 108.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.7526, allocations: 364.3 kB / 0.549 GB, free: 108.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009933/0.7536, allocations: 0.6733 MB / 0.5496 GB, free: 108.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.7546, allocations: 0.9694 MB / 0.5506 GB, free: 108.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.7557, allocations: 0.8168 MB / 0.5514 GB, free: 108.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.7558, allocations: 2.469 kB / 0.5514 GB, free: 108.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003269/0.759, allocations: 2.133 MB / 0.5535 GB, free: 108.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.7591, allocations: 9.406 kB / 0.5535 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.7591, allocations: 8.781 kB / 0.5535 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008768/0.76, allocations: 410.1 kB / 0.5539 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.7612, allocations: 338.2 kB / 0.5542 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/0.765, allocations: 4.419 MB / 0.5585 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.7661, allocations: 67.95 kB / 0.5586 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.7662, allocations: 52.31 kB / 0.5586 GB, free: 105.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002233/0.7665, allocations: 144.4 kB / 0.5588 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002868/0.7693, allocations: 1.869 MB / 0.5606 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.7696, allocations: 146.7 kB / 0.5607 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/0.7728, allocations: 1.996 MB / 0.5627 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.7728, allocations: 12.22 kB / 0.5627 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.7728, allocations: 7.594 kB / 0.5627 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.7728, allocations: 5.906 kB / 0.5627 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007368/0.7802, allocations: 4.153 MB / 0.5668 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.7802, allocations: 2.156 kB / 0.5668 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.7813, allocations: 233.6 kB / 0.567 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/0.7824, allocations: 464.2 kB / 0.5674 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.361e-05/0.7825, allocations: 14.94 kB / 0.5674 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004622/0.7872, allocations: 5.903 MB / 0.5732 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.7872, allocations: 10.2 kB / 0.5732 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003841/0.791, allocations: 3.152 MB / 0.5763 GB, free: 99.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000781/0.7918, allocations: 379.8 kB / 0.5767 GB, free: 99.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.792, allocations: 7.594 kB / 0.5767 GB, free: 99.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007781/0.7928, allocations: 65.98 kB / 0.5767 GB, free: 99.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.7931, allocations: 115.9 kB / 0.5768 GB, free: 99.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.96e-05/0.7932, allocations: 32.75 kB / 0.5769 GB, free: 99.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001007/0.7942, allocations: 0.8268 MB / 0.5777 GB, free: 99.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7942, allocations: 0 / 0.5777 GB, free: 99.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001359/0.7955, allocations: 429 kB / 0.5781 GB, free: 99.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003866/0.7994, allocations: 4.486 MB / 0.5825 GB, free: 96.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002493/0.8019, allocations: 2.133 MB / 0.5845 GB, free: 95.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.8019, allocations: 0 / 0.5845 GB, free: 95.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.8036, allocations: 1.412 MB / 0.5859 GB, free: 95.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.8054, allocations: 327.2 kB / 0.5862 GB, free: 94.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006071/0.8115, allocations: 4.157 MB / 0.5903 GB, free: 93.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/0.8127, allocations: 1.855 MB / 0.5921 GB, free: 92.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00109/0.8138, allocations: 381.2 kB / 0.5925 GB, free: 92.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008063/0.8146, allocations: 0.7892 MB / 0.5932 GB, free: 91.72 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.8146, allocations: 0 / 0.5932 GB, free: 91.72 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05457/0.8692, allocations: 36.21 MB / 0.6286 GB, free: 74.83 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/0.8694, allocations: 162.3 kB / 0.6288 GB, free: 74.63 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.988/3.857, allocations: 4 kB / 0.6288 GB, free: 74.62 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat