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.001098/0.001098, allocations: 181.1 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.41/1.41, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0009503/0.0009504, allocations: 92.86 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000262/0.0002621, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2641, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.134/0.3982, allocations: 105 MB / 481 MB, free: 7.562 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.3985, allocations: 95.95 kB / 481 MB, free: 7.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3121/0.7106, allocations: 39.5 MB / 0.5083 GB, free: 98.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.7106, allocations: 0 / 0.5083 GB, free: 98.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001595/0.7108, allocations: 51.81 kB / 0.5084 GB, free: 98.02 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.004981/0.7158, allocations: 1.957 MB / 0.5103 GB, free: 97.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.7158, allocations: 11.25 kB / 0.5103 GB, free: 97.05 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004805/0.7163, allocations: 232.2 kB / 0.5105 GB, free: 97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006294/0.717, allocations: 240.8 kB / 0.5108 GB, free: 96.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002221/0.7192, allocations: 1.282 MB / 0.512 GB, free: 96.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-05/0.7193, allocations: 117.6 kB / 0.5121 GB, free: 96.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.7195, allocations: 152.6 kB / 0.5123 GB, free: 96.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.722, allocations: 1.986 MB / 0.5142 GB, free: 95.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.041e-05/0.722, allocations: 3.938 kB / 0.5142 GB, free: 95.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/0.7221, allocations: 67.39 kB / 0.5143 GB, free: 95.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.493e-05/0.7222, allocations: 71.92 kB / 0.5144 GB, free: 95.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.7243, allocations: 1.579 MB / 0.5159 GB, free: 94.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007489/0.7318, allocations: 6.857 MB / 0.5226 GB, free: 90.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005956/0.7324, allocations: 498.9 kB / 0.5231 GB, free: 90.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002072/0.7345, allocations: 1.466 MB / 0.5245 GB, free: 89.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.7345, allocations: 34.56 kB / 0.5245 GB, free: 89.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 2.474e-06/0.7345, allocations: 0 / 0.5245 GB, free: 89.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.005356/0.7399, allocations: 3.137 MB / 0.5276 GB, free: 87.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001794/0.7417, allocations: 2.2 MB / 0.5297 GB, free: 85.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.7432, allocations: 1.393 MB / 0.5311 GB, free: 84.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.7433, allocations: 37.7 kB / 0.5311 GB, free: 84.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004643/0.7437, allocations: 1.029 MB / 0.5321 GB, free: 83.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.7439, allocations: 217.1 kB / 0.5324 GB, free: 83.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.7439, allocations: 32 kB / 0.5324 GB, free: 83.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.744, allocations: 365.9 kB / 0.5327 GB, free: 82.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/0.7446, allocations: 0.4919 MB / 0.5332 GB, free: 82.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008845/0.7455, allocations: 1.403 MB / 0.5346 GB, free: 80.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000843/0.7463, allocations: 0.7618 MB / 0.5353 GB, free: 79.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.7464, allocations: 12 kB / 0.5353 GB, free: 79.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00249/0.7489, allocations: 2.076 MB / 0.5374 GB, free: 77.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.7489, allocations: 22.19 kB / 0.5374 GB, free: 77.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/0.7489, allocations: 32 kB / 0.5374 GB, free: 77.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000465/0.7494, allocations: 234.4 kB / 0.5376 GB, free: 77.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.7504, allocations: 379.3 kB / 0.538 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.7516, allocations: 1.778 MB / 0.5397 GB, free: 74.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.7528, allocations: 123.5 kB / 0.5399 GB, free: 74.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.714e-05/0.7529, allocations: 99.95 kB / 0.54 GB, free: 74.72 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.0008265/0.7538, allocations: 0.5789 MB / 0.5405 GB, free: 74.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.7539, allocations: 150.1 kB / 0.5407 GB, free: 73.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.7554, allocations: 1.051 MB / 0.5417 GB, free: 72.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.7554, allocations: 11.98 kB / 0.5417 GB, free: 72.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.7555, allocations: 0 / 0.5417 GB, free: 72.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7555, allocations: 0 / 0.5417 GB, free: 72.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004273/0.7597, allocations: 3.097 MB / 0.5447 GB, free: 69.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.7598, allocations: 4.406 kB / 0.5447 GB, free: 69.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.7601, allocations: 95.86 kB / 0.5448 GB, free: 69.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005499/0.7607, allocations: 234.2 kB / 0.545 GB, free: 69.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.7607, allocations: 8 kB / 0.5451 GB, free: 69.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002837/0.7636, allocations: 3.807 MB / 0.5488 GB, free: 65.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001503/0.7651, allocations: 2.045 MB / 0.5508 GB, free: 63.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.7672, allocations: 1.819 MB / 0.5525 GB, free: 61.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006308/0.7679, allocations: 295.1 kB / 0.5528 GB, free: 60.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.768, allocations: 19.98 kB / 0.5528 GB, free: 60.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006123/0.7686, allocations: 47.91 kB / 0.5529 GB, free: 60.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.7687, allocations: 51.94 kB / 0.5529 GB, free: 60.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.7688, allocations: 23.98 kB / 0.553 GB, free: 60.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001282/0.7701, allocations: 1.027 MB / 0.554 GB, free: 59.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7701, allocations: 0 / 0.554 GB, free: 59.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001658/0.7718, allocations: 407.9 kB / 0.5544 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.002553/0.7743, allocations: 3.484 MB / 0.5578 GB, free: 55.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.7763, allocations: 1.536 MB / 0.5593 GB, free: 54.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7763, allocations: 0 / 0.5593 GB, free: 54.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009301/0.7772, allocations: 0.8161 MB / 0.5601 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.001428/0.7787, allocations: 374.2 kB / 0.5604 GB, free: 52.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/0.7966, allocations: 32.78 MB / 0.5924 GB, free: 19.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008415/0.7975, allocations: 1.495 MB / 0.5939 GB, free: 17.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001153/0.7986, allocations: 345.7 kB / 0.5942 GB, free: 17.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006255/0.7993, allocations: 0.6242 MB / 0.5948 GB, free: 16.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7993, allocations: 0 / 0.5948 GB, free: 16.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06258/0.8619, allocations: 37.04 MB / 0.631 GB, free: 11.46 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/0.8622, allocations: 244.6 kB / 0.6312 GB, free: 11.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.852/3.714, allocations: 7.969 kB / 0.6312 GB, free: 11.18 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