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_Initialize.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_Initialize,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",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.001449/0.001449, allocations: 181.2 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 87.75 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.986e-05/1.982e-05, allocations: 0 / 314.9 MB, free: 9.051 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3372, allocations: 47.57 MB / 362.4 MB, free: 45.76 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.5008, allocations: 101.9 MB / 464.4 MB, free: 244 kB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.5012, allocations: 83.95 kB / 464.4 MB, free: 160 kB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1777/0.6789, allocations: 40.54 MB / 0.4931 GB, free: 7.441 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6789, allocations: 0 / 0.4931 GB, free: 7.441 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002315/0.6792, allocations: 51.94 kB / 0.4932 GB, free: 7.391 MB / 395.1 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.007598/0.6868, allocations: 1.992 MB / 0.4951 GB, free: 5.348 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.6869, allocations: 8.031 kB / 0.4951 GB, free: 5.34 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.6885, allocations: 261.2 kB / 0.4954 GB, free: 5.082 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005752/0.6943, allocations: 1.404 MB / 0.4968 GB, free: 3.621 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.6945, allocations: 60 kB / 0.4968 GB, free: 3.562 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008542/0.6954, allocations: 119.8 kB / 0.4969 GB, free: 3.445 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006105/0.7015, allocations: 1.749 MB / 0.4986 GB, free: 1.695 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2839/0.9855, allocations: 2.063 MB / 0.5007 GB, free: 98.95 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001184/0.9856, allocations: 6.844 kB / 0.5007 GB, free: 98.95 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003416/0.986, allocations: 2.125 kB / 0.5007 GB, free: 98.95 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/0.9862, allocations: 80.02 kB / 0.5007 GB, free: 98.95 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02153/1.008, allocations: 7.138 MB / 0.5077 GB, free: 97.3 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/1.011, allocations: 1.241 MB / 0.5089 GB, free: 96.98 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/1.013, allocations: 0.7182 MB / 0.5096 GB, free: 96.96 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004001/1.013, allocations: 134.2 kB / 0.5098 GB, free: 96.87 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/1.013, allocations: 46.31 kB / 0.5098 GB, free: 96.83 MB / 395.1 MB Notification: Performance of pre-optimization done (n=87): time 3.016e-06/1.013, allocations: 0 / 0.5098 GB, free: 96.83 MB / 395.1 MB Notification: Performance of matching and sorting (n=103): time 0.01266/1.026, allocations: 3.921 MB / 0.5136 GB, free: 96.19 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/1.026, allocations: 62.31 kB / 0.5137 GB, free: 96.12 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/1.028, allocations: 0.9877 MB / 0.5147 GB, free: 95.98 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002863/1.029, allocations: 25.7 kB / 0.5147 GB, free: 95.95 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007018/1.029, allocations: 0.8804 MB / 0.5155 GB, free: 95.56 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005204/1.03, allocations: 349 kB / 0.5159 GB, free: 95.33 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/1.03, allocations: 5.594 kB / 0.5159 GB, free: 95.33 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/1.03, allocations: 354.4 kB / 0.5162 GB, free: 95.02 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/1.032, allocations: 0.5846 MB / 0.5168 GB, free: 95.02 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/1.033, allocations: 0.8709 MB / 0.5176 GB, free: 94.7 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/1.035, allocations: 0.7245 MB / 0.5183 GB, free: 94.68 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-05/1.035, allocations: 3.094 kB / 0.5184 GB, free: 94.68 MB / 395.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006443/1.042, allocations: 2.183 MB / 0.5205 GB, free: 94.29 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/1.042, allocations: 7.719 kB / 0.5205 GB, free: 94.29 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/1.042, allocations: 11.47 kB / 0.5205 GB, free: 94.29 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003223/1.045, allocations: 0.7608 MB / 0.5212 GB, free: 94.1 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/1.047, allocations: 237.2 kB / 0.5215 GB, free: 94.09 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/1.062, allocations: 8.18 MB / 0.5295 GB, free: 89.39 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/1.064, allocations: 59.72 kB / 0.5295 GB, free: 89.39 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/1.064, allocations: 46.66 kB / 0.5296 GB, free: 89.38 MB / 395.1 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 () * 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.0003557/1.065, allocations: 132 kB / 0.5297 GB, free: 89.27 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004167/1.069, allocations: 1.667 MB / 0.5313 GB, free: 88.64 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005755/1.069, allocations: 135 kB / 0.5314 GB, free: 88.57 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004433/1.074, allocations: 1.777 MB / 0.5332 GB, free: 87.9 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/1.074, allocations: 11.16 kB / 0.5332 GB, free: 87.9 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.074, allocations: 3.688 kB / 0.5332 GB, free: 87.9 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/1.074, allocations: 7.453 kB / 0.5332 GB, free: 87.9 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009611/1.083, allocations: 3.628 MB / 0.5367 GB, free: 86.44 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.084, allocations: 4.094 kB / 0.5367 GB, free: 86.44 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/1.085, allocations: 199.1 kB / 0.5369 GB, free: 86.43 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001996/1.087, allocations: 462.8 kB / 0.5374 GB, free: 86.3 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/1.087, allocations: 19.25 kB / 0.5374 GB, free: 86.29 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00751/1.095, allocations: 5.905 MB / 0.5432 GB, free: 81.7 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.058e-06/1.095, allocations: 4.719 kB / 0.5432 GB, free: 81.7 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006754/1.102, allocations: 2.752 MB / 0.5459 GB, free: 80.43 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/1.103, allocations: 342.7 kB / 0.5462 GB, free: 80.2 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002818/1.103, allocations: 13.98 kB / 0.5462 GB, free: 80.2 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.105, allocations: 54.81 kB / 0.5462 GB, free: 80.2 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/1.105, allocations: 87.88 kB / 0.5463 GB, free: 80.18 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.105, allocations: 30.42 kB / 0.5464 GB, free: 80.18 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001433/1.107, allocations: 0.7491 MB / 0.5471 GB, free: 79.84 MB / 395.1 MB Notification: Performance of sort global known variables: time 7.21e-07/1.107, allocations: 3.969 kB / 0.5471 GB, free: 79.84 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.00238/1.109, allocations: 408.8 kB / 0.5475 GB, free: 79.84 MB / 395.1 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 () * 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.006388/1.115, allocations: 3.945 MB / 0.5513 GB, free: 77.54 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.004622/1.12, allocations: 1.919 MB / 0.5532 GB, free: 76.7 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/1.12, allocations: 3.531 kB / 0.5532 GB, free: 76.7 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002946/1.123, allocations: 1.275 MB / 0.5545 GB, free: 75.98 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/1.126, allocations: 272.9 kB / 0.5547 GB, free: 75.91 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00989/1.136, allocations: 3.725 MB / 0.5584 GB, free: 74.3 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/1.137, allocations: 1.715 MB / 0.56 GB, free: 73.41 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/1.139, allocations: 0.7006 MB / 0.5607 GB, free: 72.85 MB / 395.1 MB Notification: Performance of SimCode: time 1.353e-06/1.139, allocations: 0 / 0.5607 GB, free: 72.85 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.597/4.735, allocations: 59.49 MB / 0.6188 GB, free: 17.78 MB / 395.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize_res.mat does not exist to compare? outputFormat=mat