Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002687/0.002687, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.252e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09628/0.09634, allocations: 47.57 MB / 369.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4478/0.5442, allocations: 102.1 MB / 471.3 MB, free: 7.363 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/0.5446, allocations: 82.64 kB / 471.4 MB, free: 7.324 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1824/0.727, allocations: 40.24 MB / 0.4997 GB, free: 408 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.7271, allocations: 0 / 0.4997 GB, free: 408 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001877/0.7273, allocations: 47.94 kB / 0.4997 GB, free: 360 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.006989/0.7343, allocations: 1.941 MB / 0.5016 GB, free: 14.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.7344, allocations: 12.02 kB / 0.5016 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008364/0.7352, allocations: 261.8 kB / 0.5019 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.7364, allocations: 249.3 kB / 0.5021 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004642/0.7411, allocations: 1.348 MB / 0.5034 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.7413, allocations: 135.6 kB / 0.5035 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005286/0.7418, allocations: 187.8 kB / 0.5037 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006798/0.7486, allocations: 2.282 MB / 0.5059 GB, free: 9.762 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.141e-05/0.7488, allocations: 4 kB / 0.5059 GB, free: 9.758 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000297/0.7491, allocations: 76.33 kB / 0.506 GB, free: 9.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.7492, allocations: 91.45 kB / 0.5061 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005808/0.7551, allocations: 1.79 MB / 0.5079 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02079/0.7759, allocations: 7.171 MB / 0.5149 GB, free: 444 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.779, allocations: 1.263 MB / 0.5161 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/0.7809, allocations: 0.6989 MB / 0.5168 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004272/0.7814, allocations: 137.8 kB / 0.5169 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.7814, allocations: 43.34 kB / 0.5169 GB, free: 14.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 3.647e-06/0.7815, allocations: 0 / 0.5169 GB, free: 14.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=113): time 0.02539/0.8068, allocations: 5.946 MB / 0.5228 GB, free: 8.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.807, allocations: 64.41 kB / 0.5228 GB, free: 8.105 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002556/0.8095, allocations: 1.026 MB / 0.5238 GB, free: 7.066 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002701/0.8098, allocations: 53.69 kB / 0.5239 GB, free: 7.008 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008495/0.8107, allocations: 0.8399 MB / 0.5247 GB, free: 6.156 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005562/0.8113, allocations: 394.2 kB / 0.5251 GB, free: 5.766 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.8114, allocations: 28 kB / 0.5251 GB, free: 5.738 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.8116, allocations: 366.7 kB / 0.5254 GB, free: 5.371 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.8133, allocations: 0.6351 MB / 0.5261 GB, free: 4.738 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.8154, allocations: 0.9422 MB / 0.527 GB, free: 3.668 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.8175, allocations: 0.7856 MB / 0.5277 GB, free: 2.879 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.8175, allocations: 4 kB / 0.5278 GB, free: 2.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006755/0.8243, allocations: 2.246 MB / 0.5299 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.8243, allocations: 12.25 kB / 0.53 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/0.8244, allocations: 11.94 kB / 0.53 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2821/1.107, allocations: 0.6313 MB / 0.5306 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/1.109, allocations: 278.1 kB / 0.5309 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/1.121, allocations: 6.287 MB / 0.537 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/1.123, allocations: 92.28 kB / 0.5371 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/1.123, allocations: 60.05 kB / 0.5371 GB, free: 104.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003542/1.124, allocations: 173.9 kB / 0.5373 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003511/1.124, allocations: 140.2 kB / 0.5374 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006487/1.13, allocations: 2.18 MB / 0.5396 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/1.131, allocations: 12.06 kB / 0.5396 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/1.131, allocations: 8.875 kB / 0.5396 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/1.131, allocations: 8.625 kB / 0.5396 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/1.143, allocations: 4.343 MB / 0.5438 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.143, allocations: 4.203 kB / 0.5438 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/1.145, allocations: 174 kB / 0.544 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003473/1.148, allocations: 0.7307 MB / 0.5447 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/1.149, allocations: 35.56 kB / 0.5448 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/1.163, allocations: 8.047 MB / 0.5526 GB, free: 100 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.163, allocations: 3.281 kB / 0.5526 GB, free: 100 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00772/1.171, allocations: 3.271 MB / 0.5558 GB, free: 98.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.172, allocations: 353.1 kB / 0.5561 GB, free: 98.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/1.172, allocations: 33.02 kB / 0.5562 GB, free: 98.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.174, allocations: 82.62 kB / 0.5563 GB, free: 98.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003699/1.174, allocations: 96.56 kB / 0.5563 GB, free: 98.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/1.174, allocations: 38.48 kB / 0.5564 GB, free: 98.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001645/1.176, allocations: 0.7954 MB / 0.5572 GB, free: 97.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.8e-07/1.176, allocations: 0 / 0.5572 GB, free: 97.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002343/1.178, allocations: 474.7 kB / 0.5576 GB, free: 97.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008248/1.186, allocations: 4.753 MB / 0.5623 GB, free: 95.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005166/1.192, allocations: 2.209 MB / 0.5644 GB, free: 94.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.192, allocations: 0 / 0.5644 GB, free: 94.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00383/1.195, allocations: 1.533 MB / 0.5659 GB, free: 93.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/1.198, allocations: 349.4 kB / 0.5662 GB, free: 93.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009576/1.208, allocations: 3.794 MB / 0.5699 GB, free: 91.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/1.209, allocations: 1.663 MB / 0.5716 GB, free: 90.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/1.211, allocations: 0.6944 MB / 0.5722 GB, free: 90.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.994e-06/1.211, allocations: 0 / 0.5722 GB, free: 90.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.014/5.225, allocations: 67.14 MB / 0.6378 GB, free: 39.88 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat