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.001462/0.001467, allocations: 177.8 kB / 8.36 MB, free: 0.7148 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.062/2.062, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001083/0.001082, allocations: 84.64 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.447e-05/2.459e-05, allocations: 4 kB / 314.9 MB, free: 9.055 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3612, allocations: 47.57 MB / 362.4 MB, free: 45.72 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2377/0.5989, allocations: 104.3 MB / 466.7 MB, free: 13.86 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004307/0.5994, allocations: 91.92 kB / 466.8 MB, free: 13.77 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.233/0.8325, allocations: 38.97 MB / 0.4939 GB, free: 6.672 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.8325, allocations: 0 / 0.4939 GB, free: 6.672 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002122/0.8327, allocations: 40 kB / 0.494 GB, free: 6.633 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.006387/0.8391, allocations: 1.756 MB / 0.4957 GB, free: 4.824 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.8392, allocations: 15.97 kB / 0.4957 GB, free: 4.809 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.8407, allocations: 233.4 kB / 0.4959 GB, free: 4.578 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004639/0.8454, allocations: 1.27 MB / 0.4972 GB, free: 3.25 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.8456, allocations: 52 kB / 0.4972 GB, free: 3.199 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005825/0.8462, allocations: 96 kB / 0.4973 GB, free: 3.105 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005161/0.8513, allocations: 1.459 MB / 0.4987 GB, free: 1.645 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2808/1.132, allocations: 1.721 MB / 0.5004 GB, free: 101.2 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/1.132, allocations: 6.891 kB / 0.5004 GB, free: 101.2 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/1.133, allocations: 1.406 kB / 0.5004 GB, free: 101.2 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001833/1.133, allocations: 74.38 kB / 0.5005 GB, free: 101.2 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0179/1.151, allocations: 6.554 MB / 0.5069 GB, free: 99.06 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/1.152, allocations: 459.2 kB / 0.5073 GB, free: 99.04 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005755/1.153, allocations: 262 kB / 0.5076 GB, free: 99.03 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004328/1.157, allocations: 1.416 MB / 0.509 GB, free: 98.62 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/1.157, allocations: 36.81 kB / 0.509 GB, free: 98.58 MB / 395.1 MB Notification: Performance of pre-optimization done (n=38): time 4.609e-06/1.157, allocations: 0 / 0.509 GB, free: 98.58 MB / 395.1 MB Notification: Performance of matching and sorting (n=54): time 0.008296/1.165, allocations: 2.48 MB / 0.5114 GB, free: 97.98 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/1.165, allocations: 57.25 kB / 0.5115 GB, free: 97.92 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/1.169, allocations: 1.173 MB / 0.5126 GB, free: 97.76 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001625/1.169, allocations: 25.7 kB / 0.5126 GB, free: 97.73 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009221/1.17, allocations: 1.031 MB / 0.5136 GB, free: 97.17 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/1.17, allocations: 199.4 kB / 0.5138 GB, free: 97.05 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/1.17, allocations: 1.062 kB / 0.5138 GB, free: 97.05 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/1.17, allocations: 375.4 kB / 0.5142 GB, free: 96.74 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/1.171, allocations: 458.5 kB / 0.5146 GB, free: 96.74 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/1.173, allocations: 1.35 MB / 0.516 GB, free: 95.57 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/1.175, allocations: 0.7293 MB / 0.5167 GB, free: 95.56 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-05/1.175, allocations: 9.906 kB / 0.5167 GB, free: 95.56 MB / 395.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00498/1.18, allocations: 1.751 MB / 0.5184 GB, free: 95.46 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.307e-05/1.18, allocations: 23.22 kB / 0.5184 GB, free: 95.46 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.274e-05/1.18, allocations: 32.72 kB / 0.5184 GB, free: 95.46 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008851/1.181, allocations: 228.4 kB / 0.5187 GB, free: 95.44 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/1.183, allocations: 377.6 kB / 0.519 GB, free: 95.42 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/1.186, allocations: 1.68 MB / 0.5207 GB, free: 94.2 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/1.188, allocations: 93.73 kB / 0.5207 GB, free: 94.18 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003729/1.189, allocations: 94.2 kB / 0.5208 GB, free: 94.18 MB / 395.1 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 () * 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.00039/1.189, allocations: 189.1 kB / 0.521 GB, free: 94.02 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002521/1.191, allocations: 0.9164 MB / 0.5219 GB, free: 93.87 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004688/1.192, allocations: 151.4 kB / 0.5221 GB, free: 93.79 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/1.195, allocations: 0.9721 MB / 0.523 GB, free: 93.57 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/1.195, allocations: 3.969 kB / 0.523 GB, free: 93.57 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.195, allocations: 7.156 kB / 0.523 GB, free: 93.57 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.387e-05/1.195, allocations: 3.844 kB / 0.523 GB, free: 93.57 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00779/1.203, allocations: 2.897 MB / 0.5258 GB, free: 92.29 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/1.203, allocations: 4.938 kB / 0.5258 GB, free: 92.29 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008031/1.203, allocations: 95.16 kB / 0.5259 GB, free: 92.28 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/1.205, allocations: 225.6 kB / 0.5262 GB, free: 92.21 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/1.205, allocations: 13.52 kB / 0.5262 GB, free: 92.21 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004503/1.209, allocations: 3.587 MB / 0.5297 GB, free: 89.3 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002308/1.212, allocations: 1.923 MB / 0.5315 GB, free: 87.66 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003283/1.215, allocations: 1.748 MB / 0.5333 GB, free: 86.61 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009644/1.216, allocations: 287.7 kB / 0.5335 GB, free: 86.41 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/1.216, allocations: 3.75 kB / 0.5335 GB, free: 86.41 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/1.217, allocations: 36.36 kB / 0.5336 GB, free: 86.41 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/1.218, allocations: 54.23 kB / 0.5336 GB, free: 86.39 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/1.218, allocations: 20.97 kB / 0.5336 GB, free: 86.39 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001744/1.219, allocations: 0.8442 MB / 0.5345 GB, free: 86.02 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.02e-07/1.219, allocations: 0 / 0.5345 GB, free: 86.02 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002695/1.222, allocations: 339.3 kB / 0.5348 GB, free: 86.01 MB / 395.1 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 () * 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.004248/1.226, allocations: 3.385 MB / 0.5381 GB, free: 83.55 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.003165/1.23, allocations: 1.425 MB / 0.5395 GB, free: 82.86 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.23, allocations: 7.719 kB / 0.5395 GB, free: 82.86 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/1.231, allocations: 0.7642 MB / 0.5402 GB, free: 82.39 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/1.234, allocations: 313.4 kB / 0.5405 GB, free: 82.31 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007369/1.241, allocations: 2.728 MB / 0.5432 GB, free: 81.07 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/1.242, allocations: 1.491 MB / 0.5447 GB, free: 80.23 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/1.244, allocations: 0.6189 MB / 0.5453 GB, free: 79.75 MB / 395.1 MB Notification: Performance of SimCode: time 1.193e-06/1.244, allocations: 0 / 0.5453 GB, free: 79.75 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.578/4.822, allocations: 52.06 MB / 0.5961 GB, free: 40.88 MB / 395.1 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