Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001137/0.001137, allocations: 178 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 78.23 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.245e-05, allocations: 7.984 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0989/0.09894, allocations: 47.59 MB / 363.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3851/0.4841, allocations: 104.5 MB / 467.7 MB, free: 7.211 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.4844, allocations: 90.53 kB / 467.8 MB, free: 7.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1053/0.5897, allocations: 38.97 MB / 0.4949 GB, free: 5.723 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5898, allocations: 0 / 0.4949 GB, free: 5.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001252/0.5899, allocations: 43.98 kB / 0.4949 GB, free: 5.68 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.003314/0.5932, allocations: 1.744 MB / 0.4966 GB, free: 3.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.5933, allocations: 12.03 kB / 0.4966 GB, free: 3.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006418/0.5939, allocations: 241.4 kB / 0.4969 GB, free: 3.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/0.5962, allocations: 1.27 MB / 0.4981 GB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.891e-05/0.5963, allocations: 52 kB / 0.4982 GB, free: 2.254 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.5965, allocations: 96 kB / 0.4983 GB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002538/0.5991, allocations: 1.455 MB / 0.4997 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002869/0.602, allocations: 1.734 MB / 0.5014 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/0.602, allocations: 11.89 kB / 0.5014 GB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.6021, allocations: 4 kB / 0.5014 GB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.931e-05/0.6022, allocations: 70.92 kB / 0.5015 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/0.6126, allocations: 6.558 MB / 0.5079 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006844/0.6133, allocations: 464 kB / 0.5083 GB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/0.6137, allocations: 262.1 kB / 0.5085 GB, free: 7.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002775/0.6165, allocations: 1.408 MB / 0.5099 GB, free: 5.781 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.6165, allocations: 42.56 kB / 0.51 GB, free: 5.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 2.495e-06/0.6166, allocations: 0 / 0.51 GB, free: 5.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.005158/0.6217, allocations: 2.475 MB / 0.5124 GB, free: 3.188 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.6218, allocations: 67.84 kB / 0.5124 GB, free: 3.109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.6237, allocations: 1.168 MB / 0.5136 GB, free: 1.934 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.6237, allocations: 29.7 kB / 0.5136 GB, free: 1.898 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007709/0.6245, allocations: 1.025 MB / 0.5146 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.6247, allocations: 205.3 kB / 0.5148 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.6247, allocations: 3.938 kB / 0.5148 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.6249, allocations: 366.1 kB / 0.5152 GB, free: 296 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006775/0.6256, allocations: 459.9 kB / 0.5156 GB, free: 15.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.6269, allocations: 1.352 MB / 0.5169 GB, free: 14.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009997/0.6279, allocations: 0.7304 MB / 0.5176 GB, free: 13.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.628, allocations: 8 kB / 0.5176 GB, free: 13.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003053/0.631, allocations: 1.83 MB / 0.5194 GB, free: 11.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.6311, allocations: 16 kB / 0.5194 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.6311, allocations: 36 kB / 0.5195 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005555/0.6317, allocations: 231.2 kB / 0.5197 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.6328, allocations: 379.3 kB / 0.5201 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.6345, allocations: 1.678 MB / 0.5217 GB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.6358, allocations: 95.53 kB / 0.5218 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.636, allocations: 96.06 kB / 0.5219 GB, free: 8.797 MB / 410.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 () * 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.0002391/0.6362, allocations: 184.1 kB / 0.5221 GB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001528/0.6378, allocations: 0.9184 MB / 0.523 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.638, allocations: 142.3 kB / 0.5231 GB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.6397, allocations: 0.987 MB / 0.5241 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.6398, allocations: 11.94 kB / 0.5241 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.6398, allocations: 0 / 0.5241 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.6398, allocations: 3.984 kB / 0.5241 GB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004898/0.6447, allocations: 2.892 MB / 0.5269 GB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.6447, allocations: 4 kB / 0.5269 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.6451, allocations: 92.22 kB / 0.527 GB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000602/0.6457, allocations: 234.3 kB / 0.5272 GB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.6458, allocations: 4 kB / 0.5272 GB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2344/0.8802, allocations: 3.584 MB / 0.5307 GB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001997/0.8822, allocations: 1.928 MB / 0.5326 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.8849, allocations: 1.726 MB / 0.5343 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007198/0.8857, allocations: 285.8 kB / 0.5346 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003598/0.8861, allocations: 4.438 kB / 0.5346 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008226/0.8869, allocations: 36.73 kB / 0.5346 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.8871, allocations: 52.75 kB / 0.5346 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.365e-05/0.8871, allocations: 18.95 kB / 0.5347 GB, free: 106.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001971/0.8891, allocations: 0.8424 MB / 0.5355 GB, free: 106.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.495e-06/0.8891, allocations: 1.562 kB / 0.5355 GB, free: 106.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002273/0.8914, allocations: 348.5 kB / 0.5358 GB, free: 106.8 MB / 410.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 () * 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.003162/0.8946, allocations: 3.378 MB / 0.5391 GB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002449/0.897, allocations: 1.429 MB / 0.5405 GB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.8971, allocations: 1.375 kB / 0.5405 GB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.8982, allocations: 0.7658 MB / 0.5413 GB, free: 104.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.9001, allocations: 311.6 kB / 0.5416 GB, free: 104.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005142/0.9053, allocations: 2.692 MB / 0.5442 GB, free: 103.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.9064, allocations: 1.497 MB / 0.5457 GB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001157/0.9076, allocations: 336 kB / 0.546 GB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006697/0.9082, allocations: 0.6141 MB / 0.5466 GB, free: 102.7 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.9082, allocations: 0 / 0.5466 GB, free: 102.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07602/0.9843, allocations: 30.36 MB / 0.5762 GB, free: 100.6 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/0.9845, allocations: 177.8 kB / 0.5764 GB, free: 100.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.818/3.803, allocations: 3.938 kB / 0.5764 GB, free: 100.4 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad_fmu --startTime=0 --stopTime=0.04 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad.fmu > Modelica_3.2.3_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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat does not exist to compare? outputFormat=mat