Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",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.001188/0.001187, allocations: 180 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.594/1.594, allocations: 205.4 MB / 223.1 MB, free: 9.102 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.0008813/0.0008811, allocations: 95.03 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003087, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3084, allocations: 47.57 MB / 375.9 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.4407, allocations: 103.7 MB / 479.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.4411, allocations: 91.95 kB / 479.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3682/0.8093, allocations: 44.46 MB / 0.5119 GB, free: 74.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.8093, allocations: 0 / 0.5119 GB, free: 74.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000121/0.8095, allocations: 57.25 kB / 0.512 GB, free: 74.77 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.003978/0.8134, allocations: 2.448 MB / 0.5144 GB, free: 73.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8135, allocations: 11.53 kB / 0.5144 GB, free: 73.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003289/0.8138, allocations: 299.6 kB / 0.5147 GB, free: 73.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005896/0.8144, allocations: 289.1 kB / 0.5149 GB, free: 73.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.817, allocations: 1.549 MB / 0.5165 GB, free: 72.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.093e-05/0.8171, allocations: 156.5 kB / 0.5166 GB, free: 72.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/0.8173, allocations: 203.6 kB / 0.5168 GB, free: 72.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003413/0.8207, allocations: 2.712 MB / 0.5194 GB, free: 72.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.984e-05/0.8208, allocations: 18.8 kB / 0.5195 GB, free: 72.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.821, allocations: 85.12 kB / 0.5195 GB, free: 72.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.666e-05/0.821, allocations: 83.95 kB / 0.5196 GB, free: 72.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002982/0.824, allocations: 2.238 MB / 0.5218 GB, free: 72.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.8345, allocations: 8.447 MB / 0.5301 GB, free: 67.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.8363, allocations: 1.811 MB / 0.5318 GB, free: 65.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.8365, allocations: 135.9 kB / 0.532 GB, free: 65.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.8366, allocations: 49.56 kB / 0.532 GB, free: 65.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 3.066e-06/0.8366, allocations: 4.406 kB / 0.532 GB, free: 65.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.01067/0.8473, allocations: 6.441 MB / 0.5383 GB, free: 61.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.8473, allocations: 68.41 kB / 0.5384 GB, free: 61.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.8488, allocations: 1.316 MB / 0.5396 GB, free: 60.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.8489, allocations: 50.95 kB / 0.5397 GB, free: 60.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004866/0.8494, allocations: 0.9702 MB / 0.5406 GB, free: 59.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/0.8496, allocations: 428.1 kB / 0.5411 GB, free: 59.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.894e-05/0.8497, allocations: 25.31 kB / 0.5411 GB, free: 59.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.8498, allocations: 363.8 kB / 0.5414 GB, free: 59.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009359/0.8508, allocations: 0.7483 MB / 0.5422 GB, free: 58.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.8518, allocations: 1.042 MB / 0.5432 GB, free: 57.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.8529, allocations: 0.8891 MB / 0.544 GB, free: 57.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.8529, allocations: 8 kB / 0.544 GB, free: 57.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00316/0.8561, allocations: 2.368 MB / 0.5464 GB, free: 55.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.8561, allocations: 8 kB / 0.5464 GB, free: 55.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.8561, allocations: 8 kB / 0.5464 GB, free: 55.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008245/0.857, allocations: 413.7 kB / 0.5468 GB, free: 55.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.8581, allocations: 334.5 kB / 0.5471 GB, free: 54.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003871/0.862, allocations: 4.747 MB / 0.5517 GB, free: 49.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.8631, allocations: 99.8 kB / 0.5518 GB, free: 49.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.8633, allocations: 50.31 kB / 0.5519 GB, free: 49.71 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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001225/0.8645, allocations: 0.7126 MB / 0.5526 GB, free: 48.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.8647, allocations: 166 kB / 0.5527 GB, free: 48.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00313/0.8679, allocations: 2.188 MB / 0.5549 GB, free: 46.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.8679, allocations: 16 kB / 0.5549 GB, free: 46.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.8679, allocations: 4 kB / 0.5549 GB, free: 46.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.8679, allocations: 7.922 kB / 0.5549 GB, free: 46.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006521/0.8744, allocations: 4.593 MB / 0.5594 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.8745, allocations: 7.938 kB / 0.5594 GB, free: 41.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009304/0.8754, allocations: 235.7 kB / 0.5596 GB, free: 41.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.8765, allocations: 471.1 kB / 0.5601 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.933e-05/0.8766, allocations: 27.98 kB / 0.5601 GB, free: 41.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004524/0.8811, allocations: 6.296 MB / 0.5662 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.8811, allocations: 4.031 kB / 0.5662 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/0.8851, allocations: 3.393 MB / 0.5695 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008212/0.886, allocations: 406.9 kB / 0.5699 GB, free: 30.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.8861, allocations: 31.98 kB / 0.57 GB, free: 30.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007834/0.8869, allocations: 83.92 kB / 0.57 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.8872, allocations: 116.7 kB / 0.5702 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.672e-05/0.8873, allocations: 36 kB / 0.5702 GB, free: 30.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001251/0.8885, allocations: 1.02 MB / 0.5712 GB, free: 29.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.8885, allocations: 0 / 0.5712 GB, free: 29.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001483/0.89, allocations: 496 kB / 0.5717 GB, free: 28.78 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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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.004389/0.8944, allocations: 4.725 MB / 0.5763 GB, free: 23.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002859/0.8973, allocations: 2.309 MB / 0.5785 GB, free: 21.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.8973, allocations: 4 kB / 0.5785 GB, free: 21.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.899, allocations: 1.512 MB / 0.58 GB, free: 20.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.9005, allocations: 420.1 kB / 0.5804 GB, free: 19.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01852/0.919, allocations: 19.37 MB / 0.5993 GB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/0.9206, allocations: 1.857 MB / 0.6011 GB, free: 13.69 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001269/0.9219, allocations: 401.5 kB / 0.6015 GB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.9229, allocations: 0.7897 MB / 0.6023 GB, free: 12.5 MB / 394.7 MB Notification: Performance of SimCode: time 7.11e-07/0.9229, allocations: 0 / 0.6023 GB, free: 12.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06982/0.9927, allocations: 42.95 MB / 0.6442 GB, free: 1.492 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000284/0.9931, allocations: 226.7 kB / 0.6444 GB, free: 1.254 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.109/4.102, allocations: 4.062 kB / 0.6445 GB, free: 1.25 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat