Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator",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.001022/0.001022, allocations: 182 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.35/1.35, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.0008409/0.0008412, allocations: 96.16 kB / 271.5 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002392/0.0002392, allocations: 4 kB / 328.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2348, allocations: 47.57 MB / 375.9 MB, free: 45.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.3829, allocations: 113.6 MB / 489.5 MB, free: 14.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.3833, allocations: 91.95 kB / 489.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3691/0.7524, allocations: 82.92 MB / 0.5591 GB, free: 58.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.7525, allocations: 0 / 0.5591 GB, free: 58.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000205/0.7527, allocations: 67.94 kB / 0.5591 GB, free: 58.05 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.007174/0.7599, allocations: 2.989 MB / 0.5621 GB, free: 55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.7599, allocations: 8.031 kB / 0.5621 GB, free: 54.99 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001053/0.761, allocations: 362.7 kB / 0.5624 GB, free: 54.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.7627, allocations: 424 kB / 0.5628 GB, free: 54.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004182/0.7669, allocations: 1.847 MB / 0.5646 GB, free: 52.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.767, allocations: 185 kB / 0.5648 GB, free: 52.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005367/0.7676, allocations: 255.8 kB / 0.565 GB, free: 51.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004722/0.7723, allocations: 3.23 MB / 0.5682 GB, free: 48.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.234e-05/0.7724, allocations: 8 kB / 0.5682 GB, free: 48.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.7726, allocations: 108 kB / 0.5683 GB, free: 48.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-05/0.7727, allocations: 108.9 kB / 0.5684 GB, free: 48.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003692/0.7764, allocations: 2.588 MB / 0.5709 GB, free: 45.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01318/0.7896, allocations: 10.48 MB / 0.5812 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.7914, allocations: 1.83 MB / 0.583 GB, free: 32.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/0.7917, allocations: 215.2 kB / 0.5832 GB, free: 32.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.7918, allocations: 47.5 kB / 0.5832 GB, free: 32.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=118): time 3.998e-06/0.7918, allocations: 0 / 0.5832 GB, free: 32.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=143): time 0.01795/0.8097, allocations: 8.908 MB / 0.5919 GB, free: 23.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.8098, allocations: 68.67 kB / 0.592 GB, free: 23.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/0.8123, allocations: 1.656 MB / 0.5936 GB, free: 21.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.8124, allocations: 45.7 kB / 0.5936 GB, free: 21.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005459/0.8129, allocations: 1.237 MB / 0.5948 GB, free: 20.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/0.8132, allocations: 0.4891 MB / 0.5953 GB, free: 20.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.086e-05/0.8133, allocations: 32 kB / 0.5953 GB, free: 20.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.8134, allocations: 369.9 kB / 0.5957 GB, free: 19.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.8145, allocations: 0.8862 MB / 0.5966 GB, free: 18.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.8159, allocations: 1.365 MB / 0.5979 GB, free: 17.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.8172, allocations: 1.084 MB / 0.599 GB, free: 16.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.8172, allocations: 4 kB / 0.599 GB, free: 16.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004488/0.8217, allocations: 2.995 MB / 0.6019 GB, free: 13.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.8218, allocations: 16.03 kB / 0.6019 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.259e-05/0.8218, allocations: 20 kB / 0.6019 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.8231, allocations: 0.5876 MB / 0.6025 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.8245, allocations: 411.4 kB / 0.6029 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006102/0.8306, allocations: 5.673 MB / 0.6084 GB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.8325, allocations: 143.8 kB / 0.6086 GB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/0.8328, allocations: 75.98 kB / 0.6086 GB, free: 6.031 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (187): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001578/0.8344, allocations: 0.7915 MB / 0.6094 GB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006637/0.8351, allocations: 197.6 kB / 0.6096 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004451/0.8395, allocations: 2.654 MB / 0.6122 GB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.8395, allocations: 19.98 kB / 0.6122 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.8396, allocations: 7.953 kB / 0.6122 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.8396, allocations: 7.984 kB / 0.6122 GB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.8501, allocations: 5.533 MB / 0.6176 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/0.8501, allocations: 7.984 kB / 0.6176 GB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.8512, allocations: 244 kB / 0.6179 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/0.853, allocations: 0.6571 MB / 0.6185 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.8532, allocations: 31.98 kB / 0.6185 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008955/0.8621, allocations: 7.4 MB / 0.6258 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.8622, allocations: 4 kB / 0.6258 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006572/0.8687, allocations: 4.102 MB / 0.6298 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.8702, allocations: 470.5 kB / 0.6302 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/0.8704, allocations: 36.61 kB / 0.6303 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.8716, allocations: 115.9 kB / 0.6304 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003265/0.872, allocations: 113.1 kB / 0.6305 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.8721, allocations: 47.98 kB / 0.6305 GB, free: 15.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002027/0.8741, allocations: 1.263 MB / 0.6318 GB, free: 13.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.633e-06/0.8741, allocations: 0 / 0.6318 GB, free: 13.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002114/0.8762, allocations: 0.6443 MB / 0.6324 GB, free: 13.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,72.2%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007083/0.8833, allocations: 5.631 MB / 0.6379 GB, free: 7.359 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004803/0.8882, allocations: 2.637 MB / 0.6405 GB, free: 4.672 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.8882, allocations: 1 kB / 0.6405 GB, free: 4.672 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002899/0.8911, allocations: 1.64 MB / 0.6421 GB, free: 2.996 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.8933, allocations: 408 kB / 0.6425 GB, free: 2.598 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2136/1.107, allocations: 26.68 MB / 0.6685 GB, free: 79.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/1.109, allocations: 2.083 MB / 0.6705 GB, free: 78.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001484/1.11, allocations: 413.3 kB / 0.6709 GB, free: 78.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/1.111, allocations: 1.009 MB / 0.6719 GB, free: 78.89 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/1.111, allocations: 0 / 0.6719 GB, free: 78.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07436/1.186, allocations: 51.44 MB / 0.7222 GB, free: 59.35 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/1.186, allocations: 232.6 kB / 0.7224 GB, free: 59.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.485/4.671, allocations: 3.938 kB / 0.7224 GB, free: 59.11 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Generator.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat does not exist to compare? outputFormat=mat