Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001444/0.001444, allocations: 181.8 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.000932/0.0009321, allocations: 88.11 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004114, allocations: 8 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.299, allocations: 47.56 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.4178, allocations: 102.2 MB / 478.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.418, allocations: 91.95 kB / 478.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2999/0.718, allocations: 40.16 MB / 0.5062 GB, free: 96.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.718, allocations: 0 / 0.5062 GB, free: 96.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001105/0.7181, allocations: 51.03 kB / 0.5063 GB, free: 96.19 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.00359/0.7217, allocations: 2.139 MB / 0.5084 GB, free: 95.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.7218, allocations: 9.969 kB / 0.5084 GB, free: 95.17 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003153/0.7221, allocations: 271.3 kB / 0.5086 GB, free: 95.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005843/0.7227, allocations: 252.3 kB / 0.5089 GB, free: 95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.7251, allocations: 1.36 MB / 0.5102 GB, free: 94.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.049e-05/0.7252, allocations: 139.7 kB / 0.5103 GB, free: 94.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/0.7255, allocations: 175.6 kB / 0.5105 GB, free: 94.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003308/0.7288, allocations: 2.35 MB / 0.5128 GB, free: 93.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.584e-05/0.7288, allocations: 11.84 kB / 0.5128 GB, free: 93.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.729, allocations: 75.34 kB / 0.5129 GB, free: 93.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.11e-05/0.7291, allocations: 77.38 kB / 0.513 GB, free: 93.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/0.7317, allocations: 1.884 MB / 0.5148 GB, free: 93.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009004/0.7407, allocations: 7.175 MB / 0.5218 GB, free: 89.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.7423, allocations: 1.326 MB / 0.5231 GB, free: 88.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.7426, allocations: 135.5 kB / 0.5232 GB, free: 88.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.7427, allocations: 43.22 kB / 0.5233 GB, free: 88.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 3.386e-06/0.7427, allocations: 0 / 0.5233 GB, free: 88.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=113): time 0.01341/0.7561, allocations: 7.198 MB / 0.5303 GB, free: 84.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.7562, allocations: 64.41 kB / 0.5304 GB, free: 84.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.7575, allocations: 1.051 MB / 0.5314 GB, free: 83.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.587e-05/0.7575, allocations: 49.69 kB / 0.5314 GB, free: 83.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.7579, allocations: 0.854 MB / 0.5323 GB, free: 82.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.7581, allocations: 395.2 kB / 0.5327 GB, free: 82.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.7582, allocations: 28 kB / 0.5327 GB, free: 82.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.378e-05/0.7583, allocations: 357.9 kB / 0.533 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008431/0.7592, allocations: 0.6858 MB / 0.5337 GB, free: 81.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009795/0.7601, allocations: 0.9775 MB / 0.5346 GB, free: 80.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009916/0.7611, allocations: 0.8267 MB / 0.5355 GB, free: 79.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.7612, allocations: 8 kB / 0.5355 GB, free: 79.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00344/0.7646, allocations: 2.431 MB / 0.5378 GB, free: 76.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.7647, allocations: 13.98 kB / 0.5378 GB, free: 76.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.7647, allocations: 12 kB / 0.5379 GB, free: 76.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.766, allocations: 0.6375 MB / 0.5385 GB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009081/0.767, allocations: 283.5 kB / 0.5388 GB, free: 75.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005904/0.7729, allocations: 6.516 MB / 0.5451 GB, free: 69.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.7741, allocations: 91.97 kB / 0.5452 GB, free: 69.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.7743, allocations: 51.98 kB / 0.5453 GB, free: 69 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (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.001302/0.7756, allocations: 0.6028 MB / 0.5458 GB, free: 68.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004336/0.7761, allocations: 142.3 kB / 0.546 GB, free: 68.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00379/0.7799, allocations: 2.275 MB / 0.5482 GB, free: 65.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.7799, allocations: 11.94 kB / 0.5482 GB, free: 65.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/0.7799, allocations: 8 kB / 0.5482 GB, free: 65.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.7799, allocations: 11.58 kB / 0.5482 GB, free: 65.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007791/0.7877, allocations: 4.428 MB / 0.5526 GB, free: 61.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.7878, allocations: 3.953 kB / 0.5526 GB, free: 61.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007151/0.7885, allocations: 179 kB / 0.5527 GB, free: 61.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/0.7902, allocations: 0.7305 MB / 0.5534 GB, free: 60.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.7903, allocations: 27.98 kB / 0.5535 GB, free: 60.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007833/0.7982, allocations: 8.305 MB / 0.5616 GB, free: 51.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.7982, allocations: 4 kB / 0.5616 GB, free: 51.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004801/0.803, allocations: 3.374 MB / 0.5649 GB, free: 48.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.8043, allocations: 363.3 kB / 0.5652 GB, free: 47.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004727/0.8048, allocations: 24 kB / 0.5652 GB, free: 47.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.806, allocations: 79.91 kB / 0.5653 GB, free: 47.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/0.8063, allocations: 100.8 kB / 0.5654 GB, free: 47.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.164e-05/0.8064, allocations: 35.98 kB / 0.5655 GB, free: 47.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00147/0.8078, allocations: 0.8108 MB / 0.5662 GB, free: 46.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8079, allocations: 0 / 0.5662 GB, free: 46.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002087/0.8099, allocations: 475.9 kB / 0.5667 GB, free: 46.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * 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.00529/0.8152, allocations: 4.722 MB / 0.5713 GB, free: 41.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003968/0.8192, allocations: 2.314 MB / 0.5736 GB, free: 39.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.8193, allocations: 0 / 0.5736 GB, free: 39.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.8217, allocations: 1.604 MB / 0.5751 GB, free: 37.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.8237, allocations: 358.5 kB / 0.5755 GB, free: 37.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02159/0.8453, allocations: 17.84 MB / 0.5929 GB, free: 18.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001876/0.8473, allocations: 1.693 MB / 0.5946 GB, free: 17.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001223/0.8485, allocations: 296 kB / 0.5948 GB, free: 16.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.8496, allocations: 0.6828 MB / 0.5955 GB, free: 16.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.104e-06/0.8496, allocations: 0 / 0.5955 GB, free: 16.19 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08075/0.9304, allocations: 39.71 MB / 0.6343 GB, free: 8.441 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/0.9307, allocations: 240.3 kB / 0.6345 GB, free: 8.195 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/3.922, allocations: 0 / 0.6345 GB, free: 8.195 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter.fmu > Modelica_3.2.3_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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat