Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",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.00143/0.00143, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 222.5 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.001136/0.001136, allocations: 99.38 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003894, allocations: 8 kB / 327.1 MB, free: 100 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3405, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.5142, allocations: 105 MB / 479.7 MB, free: 7.551 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/0.5145, allocations: 91.95 kB / 479.8 MB, free: 7.461 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4352/0.9498, allocations: 39.51 MB / 0.5071 GB, free: 97.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.9498, allocations: 0 / 0.5071 GB, free: 97.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001645/0.95, allocations: 55.66 kB / 0.5072 GB, free: 97.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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.007085/0.9571, allocations: 1.952 MB / 0.5091 GB, free: 96.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.9572, allocations: 11.53 kB / 0.5091 GB, free: 96.79 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009732/0.9581, allocations: 232.6 kB / 0.5093 GB, free: 96.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.9601, allocations: 241.3 kB / 0.5095 GB, free: 96.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006182/0.9664, allocations: 1.282 MB / 0.5108 GB, free: 96.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/0.9667, allocations: 112.5 kB / 0.5109 GB, free: 95.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009621/0.9676, allocations: 159 kB / 0.511 GB, free: 95.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009346/0.977, allocations: 1.977 MB / 0.513 GB, free: 94.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001588/0.9772, allocations: 7.812 kB / 0.513 GB, free: 94.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005702/0.9778, allocations: 75.39 kB / 0.513 GB, free: 94.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000163/0.978, allocations: 68.56 kB / 0.5131 GB, free: 94.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007723/0.9858, allocations: 1.575 MB / 0.5147 GB, free: 94.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02109/1.007, allocations: 6.86 MB / 0.5214 GB, free: 90.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/1.009, allocations: 0.4981 MB / 0.5218 GB, free: 90.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006458/1.015, allocations: 1.461 MB / 0.5233 GB, free: 89.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/1.015, allocations: 34.56 kB / 0.5233 GB, free: 89.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 4.709e-06/1.016, allocations: 0 / 0.5233 GB, free: 89.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.01681/1.032, allocations: 3.129 MB / 0.5264 GB, free: 87.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004651/1.037, allocations: 2.205 MB / 0.5285 GB, free: 85.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004449/1.042, allocations: 1.393 MB / 0.5299 GB, free: 84.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001822/1.042, allocations: 37.7 kB / 0.5299 GB, free: 84.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/1.043, allocations: 1.007 MB / 0.5309 GB, free: 83.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003756/1.043, allocations: 205.1 kB / 0.5311 GB, free: 83.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/1.044, allocations: 36.03 kB / 0.5311 GB, free: 83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/1.044, allocations: 374.8 kB / 0.5315 GB, free: 82.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/1.046, allocations: 499.7 kB / 0.532 GB, free: 82.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00264/1.048, allocations: 1.406 MB / 0.5333 GB, free: 80.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002731/1.051, allocations: 0.7657 MB / 0.5341 GB, free: 79.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.933e-05/1.051, allocations: 8 kB / 0.5341 GB, free: 79.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.007767/1.059, allocations: 1.995 MB / 0.536 GB, free: 77.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.804e-05/1.059, allocations: 20 kB / 0.536 GB, free: 77.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.39e-05/1.059, allocations: 34.56 kB / 0.5361 GB, free: 77.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/1.061, allocations: 234.3 kB / 0.5363 GB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003299/1.064, allocations: 375.3 kB / 0.5367 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/1.067, allocations: 1.772 MB / 0.5384 GB, free: 74.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00387/1.071, allocations: 127.4 kB / 0.5385 GB, free: 74.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000753/1.072, allocations: 103.9 kB / 0.5386 GB, free: 74.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * 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 (195): * Single equations (assignments): 192 * 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: 1 * 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: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002208/1.074, allocations: 0.575 MB / 0.5392 GB, free: 74.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005672/1.075, allocations: 146.2 kB / 0.5393 GB, free: 73.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004243/1.079, allocations: 1.055 MB / 0.5403 GB, free: 72.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/1.079, allocations: 8 kB / 0.5404 GB, free: 72.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.507e-06/1.079, allocations: 0 / 0.5404 GB, free: 72.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/1.079, allocations: 0 / 0.5404 GB, free: 72.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/1.091, allocations: 3.096 MB / 0.5434 GB, free: 69.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.754e-05/1.092, allocations: 5.031 kB / 0.5434 GB, free: 69.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/1.093, allocations: 99.86 kB / 0.5435 GB, free: 69.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001563/1.094, allocations: 226.3 kB / 0.5437 GB, free: 69.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/1.094, allocations: 12 kB / 0.5437 GB, free: 69.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006607/1.101, allocations: 3.81 MB / 0.5474 GB, free: 65.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002576/1.104, allocations: 2.041 MB / 0.5494 GB, free: 63.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/1.107, allocations: 1.808 MB / 0.5512 GB, free: 61.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008925/1.108, allocations: 303.1 kB / 0.5515 GB, free: 60.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/1.109, allocations: 16 kB / 0.5515 GB, free: 60.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.11, allocations: 47.91 kB / 0.5515 GB, free: 60.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/1.11, allocations: 51.92 kB / 0.5516 GB, free: 60.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.816e-05/1.11, allocations: 20 kB / 0.5516 GB, free: 60.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002106/1.112, allocations: 1.035 MB / 0.5526 GB, free: 59.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.112, allocations: 0 / 0.5526 GB, free: 59.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002643/1.115, allocations: 407.9 kB / 0.553 GB, free: 59.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 ($STATESET1.x) * 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 (49): * Single equations (assignments): 46 * 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: 2 * 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 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004515/1.119, allocations: 3.483 MB / 0.5564 GB, free: 55.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003333/1.123, allocations: 1.544 MB / 0.5579 GB, free: 54.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.123, allocations: 0 / 0.5579 GB, free: 54.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001689/1.124, allocations: 0.8082 MB / 0.5587 GB, free: 53.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/1.127, allocations: 369.1 kB / 0.559 GB, free: 52.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/1.154, allocations: 32.84 MB / 0.5911 GB, free: 19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/1.156, allocations: 1.484 MB / 0.5926 GB, free: 17.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/1.157, allocations: 0.6282 MB / 0.5932 GB, free: 16.86 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/1.157, allocations: 3.938 kB / 0.5932 GB, free: 16.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.792/4.949, allocations: 53.7 MB / 0.6456 GB, free: 118.7 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad_fmu --startTime=0 --stopTime=0.04 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat does not exist to compare? outputFormat=mat