Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",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.00107/0.00107, allocations: 181.6 kB / 17.01 MB, free: 5.125 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.576/1.576, 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.0007979/0.0007978, allocations: 90.59 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002929, allocations: 8 kB / 328.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3168, allocations: 47.56 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.4488, allocations: 104.8 MB / 480.7 MB, free: 7.832 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.4491, allocations: 87.95 kB / 480.8 MB, free: 7.746 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3512/0.8003, allocations: 49 MB / 0.5174 GB, free: 94.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.8003, allocations: 0 / 0.5174 GB, free: 94.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001475/0.8005, allocations: 62.06 kB / 0.5174 GB, free: 94.7 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.00479/0.8053, allocations: 2.754 MB / 0.5201 GB, free: 93.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.8053, allocations: 11.16 kB / 0.5201 GB, free: 93.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003765/0.8057, allocations: 339.3 kB / 0.5205 GB, free: 93.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006471/0.8064, allocations: 332.3 kB / 0.5208 GB, free: 92.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00285/0.8092, allocations: 1.734 MB / 0.5225 GB, free: 91.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.166e-05/0.8093, allocations: 171.8 kB / 0.5226 GB, free: 91.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002685/0.8096, allocations: 228.4 kB / 0.5228 GB, free: 91.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003934/0.8136, allocations: 3.162 MB / 0.5259 GB, free: 89.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.084e-05/0.8136, allocations: 2.969 kB / 0.5259 GB, free: 89.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.8138, allocations: 98.66 kB / 0.526 GB, free: 89.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-05/0.8139, allocations: 100.3 kB / 0.5261 GB, free: 89.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003411/0.8173, allocations: 2.638 MB / 0.5287 GB, free: 87.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.8286, allocations: 9.946 MB / 0.5384 GB, free: 77.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.8306, allocations: 2.134 MB / 0.5405 GB, free: 74.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.8308, allocations: 139 kB / 0.5406 GB, free: 74.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.8309, allocations: 51.8 kB / 0.5407 GB, free: 74.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 3.206e-06/0.8309, allocations: 0 / 0.5407 GB, free: 74.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=145): time 0.0144/0.8453, allocations: 8.049 MB / 0.5485 GB, free: 66.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.8454, allocations: 68.72 kB / 0.5486 GB, free: 66.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.8472, allocations: 1.465 MB / 0.55 GB, free: 65.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.8473, allocations: 49.7 kB / 0.5501 GB, free: 65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000486/0.8478, allocations: 1.074 MB / 0.5511 GB, free: 63.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.8481, allocations: 496.4 kB / 0.5516 GB, free: 63.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.008e-05/0.8482, allocations: 32 kB / 0.5516 GB, free: 63.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.8483, allocations: 365.9 kB / 0.552 GB, free: 63.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.8494, allocations: 0.9174 MB / 0.5529 GB, free: 62.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.8506, allocations: 1.234 MB / 0.5541 GB, free: 60.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.8519, allocations: 1.064 MB / 0.5551 GB, free: 59.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.852, allocations: 4 kB / 0.5551 GB, free: 59.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004174/0.8561, allocations: 3.037 MB / 0.5581 GB, free: 56.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.8562, allocations: 8 kB / 0.5581 GB, free: 56.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.8562, allocations: 12 kB / 0.5581 GB, free: 56.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/0.8579, allocations: 0.8439 MB / 0.5589 GB, free: 55.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.859, allocations: 315.5 kB / 0.5592 GB, free: 55.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008294/0.8673, allocations: 9.349 MB / 0.5684 GB, free: 45.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.8689, allocations: 99.81 kB / 0.5685 GB, free: 45.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.8691, allocations: 59.98 kB / 0.5685 GB, free: 45.55 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: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001434/0.8705, allocations: 0.8058 MB / 0.5693 GB, free: 44.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/0.8709, allocations: 185.7 kB / 0.5695 GB, free: 44.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004092/0.875, allocations: 2.897 MB / 0.5723 GB, free: 41.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.875, allocations: 12 kB / 0.5723 GB, free: 41.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.875, allocations: 8 kB / 0.5723 GB, free: 41.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.875, allocations: 7.969 kB / 0.5723 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009267/0.8843, allocations: 5.692 MB / 0.5779 GB, free: 35.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.8844, allocations: 0 / 0.5779 GB, free: 35.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008435/0.8852, allocations: 215.7 kB / 0.5781 GB, free: 35.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001979/0.8872, allocations: 0.8927 MB / 0.579 GB, free: 34.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.8873, allocations: 35.98 kB / 0.579 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009302/0.8966, allocations: 10.89 MB / 0.5896 GB, free: 23.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.8967, allocations: 4 kB / 0.5896 GB, free: 23.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005799/0.9025, allocations: 4.378 MB / 0.5939 GB, free: 18.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/0.9038, allocations: 470.6 kB / 0.5944 GB, free: 18.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004835/0.9043, allocations: 39.94 kB / 0.5944 GB, free: 18.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.9054, allocations: 91.91 kB / 0.5945 GB, free: 18.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000336/0.9058, allocations: 153 kB / 0.5946 GB, free: 17.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.9059, allocations: 44.36 kB / 0.5947 GB, free: 17.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001771/0.9077, allocations: 1.126 MB / 0.5958 GB, free: 16.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9077, allocations: 0 / 0.5958 GB, free: 16.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002165/0.9099, allocations: 0.5781 MB / 0.5964 GB, free: 16.24 MB / 378.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: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006867/0.9167, allocations: 5.723 MB / 0.6019 GB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003993/0.9208, allocations: 3.026 MB / 0.6049 GB, free: 7.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.9208, allocations: 0 / 0.6049 GB, free: 7.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002591/0.9234, allocations: 2.085 MB / 0.6069 GB, free: 5.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/0.9258, allocations: 484.2 kB / 0.6074 GB, free: 4.707 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03134/0.9572, allocations: 21.83 MB / 0.6287 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/0.96, allocations: 2.075 MB / 0.6307 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001859/0.9619, allocations: 399.2 kB / 0.6311 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/0.9634, allocations: 0.882 MB / 0.632 GB, free: 10.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.9634, allocations: 0 / 0.632 GB, free: 10.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3122/1.276, allocations: 51.81 MB / 0.6826 GB, free: 98.49 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/1.276, allocations: 225.5 kB / 0.6828 GB, free: 98.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.242/4.518, allocations: 0 / 0.6828 GB, free: 98.25 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat does not exist to compare? outputFormat=mat