Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001035, 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.232/1.232, allocations: 227.2 MB / 245 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009417/0.0009417, allocations: 98.91 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002313/0.0002314, allocations: 4 kB / 358 MB, free: 9.188 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2019, allocations: 51.47 MB / 409.5 MB, free: 26.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.314, allocations: 103.9 MB / 0.5014 GB, free: 2.551 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.3142, allocations: 87.95 kB / 0.5015 GB, free: 2.465 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2587/0.5729, allocations: 41.27 MB / 0.5418 GB, free: 70.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.573, allocations: 7.938 kB / 0.5418 GB, free: 70.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001694/0.5731, allocations: 47.94 kB / 0.5419 GB, free: 70.38 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005916/0.5791, allocations: 2.236 MB / 0.544 GB, free: 68.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.5791, allocations: 12.03 kB / 0.544 GB, free: 68.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007481/0.5799, allocations: 265.8 kB / 0.5443 GB, free: 67.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.5811, allocations: 305.1 kB / 0.5446 GB, free: 67.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/0.5841, allocations: 1.419 MB / 0.546 GB, free: 66.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.841e-05/0.5842, allocations: 139.5 kB / 0.5461 GB, free: 65.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004073/0.5846, allocations: 187.9 kB / 0.5463 GB, free: 65.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003755/0.5884, allocations: 2.38 MB / 0.5486 GB, free: 63.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.225e-05/0.5885, allocations: 7.844 kB / 0.5486 GB, free: 63.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.5887, allocations: 79.98 kB / 0.5487 GB, free: 63.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-05/0.5888, allocations: 79.5 kB / 0.5488 GB, free: 63.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/0.5917, allocations: 1.927 MB / 0.5507 GB, free: 61.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/0.6021, allocations: 7.495 MB / 0.558 GB, free: 53.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.604, allocations: 1.319 MB / 0.5593 GB, free: 52.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.6043, allocations: 126.1 kB / 0.5594 GB, free: 51.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.6043, allocations: 48.11 kB / 0.5594 GB, free: 51.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 3.206e-06/0.6043, allocations: 3.938 kB / 0.5594 GB, free: 51.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=103): time 0.008437/0.6128, allocations: 5.075 MB / 0.5644 GB, free: 46.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.6128, allocations: 64.41 kB / 0.5645 GB, free: 46.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.6145, allocations: 1.194 MB / 0.5656 GB, free: 45.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.192e-05/0.6146, allocations: 41.7 kB / 0.5657 GB, free: 45.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/0.6151, allocations: 0.897 MB / 0.5665 GB, free: 44.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.6153, allocations: 358.8 kB / 0.5669 GB, free: 44.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.6154, allocations: 24 kB / 0.5669 GB, free: 44.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.992e-05/0.6154, allocations: 361.9 kB / 0.5672 GB, free: 43.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008177/0.6163, allocations: 0.6467 MB / 0.5679 GB, free: 43.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008799/0.6171, allocations: 0.9337 MB / 0.5688 GB, free: 41.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009379/0.6181, allocations: 0.7876 MB / 0.5696 GB, free: 41.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.6181, allocations: 4 kB / 0.5696 GB, free: 41.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003649/0.6218, allocations: 2.476 MB / 0.572 GB, free: 38.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.6218, allocations: 8 kB / 0.572 GB, free: 38.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.6218, allocations: 8 kB / 0.572 GB, free: 38.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/0.6237, allocations: 0.7743 MB / 0.5727 GB, free: 37.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/0.6245, allocations: 235.7 kB / 0.573 GB, free: 37.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009046/0.6335, allocations: 8.874 MB / 0.5816 GB, free: 28.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.6349, allocations: 87.83 kB / 0.5817 GB, free: 28.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/0.6351, allocations: 47.98 kB / 0.5818 GB, free: 28.39 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001141/0.6362, allocations: 0.6301 MB / 0.5824 GB, free: 27.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003815/0.6366, allocations: 150.4 kB / 0.5825 GB, free: 27.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/0.6396, allocations: 1.948 MB / 0.5844 GB, free: 25.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.6396, allocations: 8 kB / 0.5844 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6396, allocations: 4 kB / 0.5844 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.6396, allocations: 7.984 kB / 0.5844 GB, free: 25.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005964/0.6456, allocations: 4.039 MB / 0.5884 GB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.6456, allocations: 4 kB / 0.5884 GB, free: 21.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/0.6464, allocations: 195.7 kB / 0.5886 GB, free: 21.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.6475, allocations: 466.6 kB / 0.589 GB, free: 20.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.897e-05/0.6476, allocations: 27.98 kB / 0.5891 GB, free: 20.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004464/0.6521, allocations: 6.309 MB / 0.5952 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6521, allocations: 4.219 kB / 0.5952 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00358/0.6557, allocations: 2.957 MB / 0.5981 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008594/0.6566, allocations: 371.2 kB / 0.5985 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000319/0.6569, allocations: 20 kB / 0.5985 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009294/0.6578, allocations: 79.92 kB / 0.5986 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.6581, allocations: 76.88 kB / 0.5986 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.471e-05/0.6582, allocations: 35.94 kB / 0.5987 GB, free: 10.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001332/0.6595, allocations: 0.923 MB / 0.5996 GB, free: 9.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6595, allocations: 3.938 kB / 0.5996 GB, free: 9.488 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001609/0.6611, allocations: 479.9 kB / 0.6 GB, free: 9.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * 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.004259/0.6654, allocations: 4.163 MB / 0.6041 GB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002928/0.6683, allocations: 2.087 MB / 0.6061 GB, free: 2.656 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.6684, allocations: 4 kB / 0.6061 GB, free: 2.652 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001697/0.6701, allocations: 1.378 MB / 0.6075 GB, free: 1.215 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.6718, allocations: 356 kB / 0.6078 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/0.6953, allocations: 18.27 MB / 0.6257 GB, free: 14.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001676/0.697, allocations: 1.724 MB / 0.6274 GB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001171/0.6982, allocations: 320.1 kB / 0.6277 GB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/0.6992, allocations: 0.7063 MB / 0.6283 GB, free: 11.28 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.6992, allocations: 0 / 0.6283 GB, free: 11.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06813/0.7674, allocations: 40 MB / 0.6674 GB, free: 3.652 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.7676, allocations: 227.2 kB / 0.6676 GB, free: 3.414 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/3.652, allocations: 0 / 0.6676 GB, free: 3.414 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat does not exist to compare? outputFormat=mat