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.001171/0.001172, allocations: 171.9 kB / 14.1 MB, free: 1.223 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.396/1.396, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0007922/0.000792, allocations: 90.7 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.72e-05/2.771e-05, allocations: 0 / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09092/0.09096, allocations: 47.56 MB / 370.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.339/0.43, allocations: 104.9 MB / 475.1 MB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.4302, allocations: 89.06 kB / 475.2 MB, free: 4.727 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1057/0.5359, allocations: 39.54 MB / 0.5026 GB, free: 13.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5359, allocations: 4 kB / 0.5026 GB, free: 13.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001162/0.5361, allocations: 40 kB / 0.5027 GB, free: 13.91 MB / 394.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.003106/0.5392, allocations: 1.756 MB / 0.5044 GB, free: 12.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5392, allocations: 8.031 kB / 0.5044 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000275/0.5395, allocations: 228.1 kB / 0.5046 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000623/0.5401, allocations: 237.4 kB / 0.5048 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.5425, allocations: 1.274 MB / 0.5061 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-05/0.5426, allocations: 111.1 kB / 0.5062 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/0.5428, allocations: 152 kB / 0.5063 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003476/0.5463, allocations: 1.964 MB / 0.5083 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.985e-05/0.5464, allocations: 7.891 kB / 0.5083 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.5466, allocations: 64 kB / 0.5083 GB, free: 7.922 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-05/0.5467, allocations: 70.92 kB / 0.5084 GB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/0.5493, allocations: 1.538 MB / 0.5099 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.5593, allocations: 6.859 MB / 0.5166 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/0.5601, allocations: 492.8 kB / 0.5171 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/0.5605, allocations: 278 kB / 0.5173 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002825/0.5633, allocations: 1.462 MB / 0.5188 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.5634, allocations: 42.52 kB / 0.5188 GB, free: 12.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 4.499e-06/0.5634, allocations: 3.984 kB / 0.5188 GB, free: 12.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=54): time 0.006158/0.5695, allocations: 2.832 MB / 0.5216 GB, free: 9.914 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002758/0.5723, allocations: 2.163 MB / 0.5237 GB, free: 7.582 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002864/0.5752, allocations: 1.368 MB / 0.525 GB, free: 6.207 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.5754, allocations: 37.7 kB / 0.5251 GB, free: 6.164 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008474/0.5762, allocations: 1.037 MB / 0.5261 GB, free: 5.113 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.5765, allocations: 201.3 kB / 0.5263 GB, free: 4.914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.031e-05/0.5766, allocations: 32 kB / 0.5263 GB, free: 4.883 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.5768, allocations: 381.9 kB / 0.5267 GB, free: 4.504 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008147/0.5776, allocations: 487.8 kB / 0.5271 GB, free: 4.027 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.5791, allocations: 1.391 MB / 0.5285 GB, free: 2.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.5803, allocations: 0.7704 MB / 0.5292 GB, free: 1.414 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-05/0.5803, allocations: 8 kB / 0.5292 GB, free: 1.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.2304/0.8107, allocations: 2.043 MB / 0.5312 GB, free: 106.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.413e-05/0.8108, allocations: 19.25 kB / 0.5312 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.038e-05/0.8109, allocations: 35 kB / 0.5313 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007976/0.8117, allocations: 233 kB / 0.5315 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.8134, allocations: 379.1 kB / 0.5319 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.8152, allocations: 1.745 MB / 0.5336 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.8168, allocations: 125.8 kB / 0.5337 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002475/0.8171, allocations: 96.06 kB / 0.5338 GB, free: 105.3 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.0003267/0.8174, allocations: 216.6 kB / 0.534 GB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/0.8178, allocations: 147.8 kB / 0.5341 GB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.82, allocations: 1.045 MB / 0.5351 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.82, allocations: 6.938 kB / 0.5352 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.82, allocations: 0 / 0.5352 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.8201, allocations: 5.578 kB / 0.5352 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006623/0.8267, allocations: 3.089 MB / 0.5382 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.8268, allocations: 3.031 kB / 0.5382 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.8273, allocations: 98.83 kB / 0.5383 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007476/0.828, allocations: 230.6 kB / 0.5385 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/0.8281, allocations: 15.08 kB / 0.5385 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00364/0.8318, allocations: 3.717 MB / 0.5421 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001723/0.8335, allocations: 2.004 MB / 0.5441 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.8365, allocations: 1.804 MB / 0.5459 GB, free: 99.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009472/0.8375, allocations: 296.3 kB / 0.5461 GB, free: 99.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004633/0.838, allocations: 17.41 kB / 0.5462 GB, free: 99.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009395/0.8389, allocations: 54.14 kB / 0.5462 GB, free: 99.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.8391, allocations: 52.06 kB / 0.5463 GB, free: 99.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-05/0.8392, allocations: 23.39 kB / 0.5463 GB, free: 99.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002162/0.8414, allocations: 1.013 MB / 0.5473 GB, free: 99.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8414, allocations: 0 / 0.5473 GB, free: 99.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002293/0.8437, allocations: 402.2 kB / 0.5477 GB, free: 99.7 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.003479/0.8472, allocations: 3.451 MB / 0.551 GB, free: 97.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002603/0.8498, allocations: 1.528 MB / 0.5525 GB, free: 97.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.8498, allocations: 0 / 0.5525 GB, free: 97.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.8511, allocations: 0.7944 MB / 0.5533 GB, free: 97.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.8533, allocations: 391.6 kB / 0.5537 GB, free: 97.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006194/0.8595, allocations: 2.8 MB / 0.5564 GB, free: 96.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.8606, allocations: 1.497 MB / 0.5579 GB, free: 95.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001293/0.8619, allocations: 349.1 kB / 0.5582 GB, free: 95.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008832/0.8628, allocations: 0.6241 MB / 0.5588 GB, free: 95.5 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.8628, allocations: 0 / 0.5588 GB, free: 95.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06173/0.9246, allocations: 37.29 MB / 0.5952 GB, free: 82.76 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.9249, allocations: 212.5 kB / 0.5954 GB, free: 82.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.031/3.955, allocations: 0 / 0.5954 GB, free: 82.54 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