Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001497/0.001498, 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.304/1.304, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0009952/0.0009951, allocations: 96.09 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002346/0.0002346, allocations: 4 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.216, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.3283, allocations: 102.7 MB / 478.6 MB, free: 9.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.3286, allocations: 87.95 kB / 478.7 MB, free: 9.844 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2703/0.5989, allocations: 41.01 MB / 0.5075 GB, free: 96.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5989, allocations: 0 / 0.5075 GB, free: 96.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001157/0.5991, allocations: 49.16 kB / 0.5075 GB, free: 96.08 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003833/0.6029, allocations: 2.219 MB / 0.5097 GB, free: 95.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.603, allocations: 11 kB / 0.5097 GB, free: 95.02 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003244/0.6033, allocations: 269.1 kB / 0.51 GB, free: 94.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005697/0.6039, allocations: 265.5 kB / 0.5102 GB, free: 94.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.6062, allocations: 1.431 MB / 0.5116 GB, free: 94.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-05/0.6062, allocations: 133.9 kB / 0.5118 GB, free: 94.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/0.6065, allocations: 175.7 kB / 0.5119 GB, free: 94.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/0.6097, allocations: 2.386 MB / 0.5143 GB, free: 93.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/0.6097, allocations: 7.75 kB / 0.5143 GB, free: 93.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.6099, allocations: 82.36 kB / 0.5143 GB, free: 93.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-05/0.61, allocations: 78.83 kB / 0.5144 GB, free: 93.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002603/0.6126, allocations: 1.939 MB / 0.5163 GB, free: 92.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009509/0.6221, allocations: 7.48 MB / 0.5236 GB, free: 88.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.6238, allocations: 1.326 MB / 0.5249 GB, free: 88.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/0.6241, allocations: 135.1 kB / 0.525 GB, free: 87.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.6241, allocations: 39.41 kB / 0.5251 GB, free: 87.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 3.897e-06/0.6241, allocations: 4 kB / 0.5251 GB, free: 87.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=103): time 0.008281/0.6324, allocations: 5.071 MB / 0.53 GB, free: 85.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.6325, allocations: 64.06 kB / 0.5301 GB, free: 84.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.6341, allocations: 1.19 MB / 0.5313 GB, free: 83.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.58e-05/0.6342, allocations: 49.17 kB / 0.5313 GB, free: 83.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004697/0.6347, allocations: 0.8875 MB / 0.5322 GB, free: 82.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.6349, allocations: 368.5 kB / 0.5325 GB, free: 82.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.635, allocations: 31.94 kB / 0.5326 GB, free: 82.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6351, allocations: 357.9 kB / 0.5329 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008335/0.636, allocations: 0.6467 MB / 0.5335 GB, free: 81.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009536/0.6369, allocations: 0.9415 MB / 0.5344 GB, free: 80.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000911/0.6378, allocations: 0.7798 MB / 0.5352 GB, free: 79.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6379, allocations: 4 kB / 0.5352 GB, free: 79.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003588/0.6415, allocations: 2.465 MB / 0.5376 GB, free: 77.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.6415, allocations: 8 kB / 0.5376 GB, free: 77.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.6415, allocations: 11.95 kB / 0.5376 GB, free: 77.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.6433, allocations: 0.782 MB / 0.5384 GB, free: 76.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008014/0.6441, allocations: 231.6 kB / 0.5386 GB, free: 76.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008871/0.653, allocations: 8.882 MB / 0.5473 GB, free: 67.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.6544, allocations: 79.91 kB / 0.5474 GB, free: 67.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.6545, allocations: 52 kB / 0.5474 GB, free: 66.97 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: 0 () * Number of discrete states: 0 () * Number of clocked 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.001173/0.6557, allocations: 0.6308 MB / 0.548 GB, free: 66.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.656, allocations: 146.2 kB / 0.5482 GB, free: 66.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/0.6587, allocations: 1.94 MB / 0.5501 GB, free: 64.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.6587, allocations: 12 kB / 0.5501 GB, free: 64.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6588, allocations: 0 / 0.5501 GB, free: 64.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.6588, allocations: 19.77 kB / 0.5501 GB, free: 64.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005774/0.6645, allocations: 4.033 MB / 0.554 GB, free: 60.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.6646, allocations: 0 / 0.554 GB, free: 60.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007874/0.6654, allocations: 196 kB / 0.5542 GB, free: 59.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001092/0.6665, allocations: 478.3 kB / 0.5547 GB, free: 59.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.617e-05/0.6666, allocations: 31.98 kB / 0.5547 GB, free: 59.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004572/0.6712, allocations: 6.314 MB / 0.5609 GB, free: 52.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.6712, allocations: 0 / 0.5609 GB, free: 52.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003585/0.6748, allocations: 2.951 MB / 0.5638 GB, free: 49.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008086/0.6756, allocations: 359.2 kB / 0.5641 GB, free: 49.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.6758, allocations: 31.94 kB / 0.5641 GB, free: 49.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007489/0.6765, allocations: 75.92 kB / 0.5642 GB, free: 49.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.6767, allocations: 88.61 kB / 0.5643 GB, free: 49.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.34e-05/0.6768, allocations: 35.98 kB / 0.5643 GB, free: 49.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001309/0.6781, allocations: 0.9191 MB / 0.5652 GB, free: 48.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6781, allocations: 8 kB / 0.5652 GB, free: 48.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001835/0.68, allocations: 464 kB / 0.5657 GB, free: 47.69 MB / 378.7 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 () * Number of clocked 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.004097/0.6841, allocations: 4.167 MB / 0.5697 GB, free: 43.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003075/0.6872, allocations: 2.084 MB / 0.5718 GB, free: 41.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6872, allocations: 128 / 0.5718 GB, free: 41.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.689, allocations: 1.382 MB / 0.5731 GB, free: 39.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.6908, allocations: 358.1 kB / 0.5735 GB, free: 39.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/0.7096, allocations: 18.27 MB / 0.5913 GB, free: 20.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.7107, allocations: 1.732 MB / 0.593 GB, free: 19.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009352/0.7116, allocations: 308.1 kB / 0.5933 GB, free: 18.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006879/0.7123, allocations: 0.7063 MB / 0.594 GB, free: 18.02 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.7123, allocations: 0 / 0.594 GB, free: 18.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05902/0.7714, allocations: 39.94 MB / 0.633 GB, free: 10.02 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/0.7716, allocations: 234.9 kB / 0.6332 GB, free: 9.785 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/3.829, allocations: 0 / 0.6332 GB, free: 9.785 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize.fmu > Modelica_3.2.3_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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat does not exist to compare? outputFormat=mat