Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.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.SMEE_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL",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.001018/0.001018, allocations: 172.2 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.536/1.536, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0009444/0.0009443, allocations: 78.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.815e-05, allocations: 0 / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09181/0.09185, allocations: 47.57 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3486/0.4405, allocations: 114.5 MB / 484.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.4408, allocations: 85.69 kB / 484.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4393/0.8801, allocations: 86.03 MB / 0.5573 GB, free: 93.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.8801, allocations: 3.281 kB / 0.5573 GB, free: 93.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002957/0.8804, allocations: 73.75 kB / 0.5574 GB, free: 93.69 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.008405/0.8889, allocations: 2.791 MB / 0.5601 GB, free: 92.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.8889, allocations: 10.09 kB / 0.5601 GB, free: 92.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001748/0.8907, allocations: 391.2 kB / 0.5605 GB, free: 92.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/0.8932, allocations: 444.6 kB / 0.5609 GB, free: 92.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004922/0.8982, allocations: 1.94 MB / 0.5628 GB, free: 91.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.8983, allocations: 203.5 kB / 0.563 GB, free: 91.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005262/0.8989, allocations: 266.4 kB / 0.5633 GB, free: 91.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005373/0.9042, allocations: 3.416 MB / 0.5666 GB, free: 91.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.97e-05/0.9043, allocations: 0 / 0.5666 GB, free: 91.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.9046, allocations: 117 kB / 0.5667 GB, free: 91.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.252e-05/0.9047, allocations: 112.2 kB / 0.5668 GB, free: 91.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003943/0.9086, allocations: 2.699 MB / 0.5695 GB, free: 90.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01615/0.9248, allocations: 11.25 MB / 0.5805 GB, free: 85.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.9269, allocations: 2.267 MB / 0.5827 GB, free: 83.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.928, allocations: 0.9762 MB / 0.5836 GB, free: 83.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/0.9284, allocations: 223 kB / 0.5838 GB, free: 83.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.9284, allocations: 50.73 kB / 0.5839 GB, free: 82.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=134): time 3.427e-06/0.9284, allocations: 0 / 0.5839 GB, free: 82.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.01467/0.9431, allocations: 7.193 MB / 0.5909 GB, free: 80.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.9432, allocations: 70.66 kB / 0.591 GB, free: 80.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.9455, allocations: 1.719 MB / 0.5927 GB, free: 79.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.9456, allocations: 52.39 kB / 0.5927 GB, free: 79.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006691/0.9463, allocations: 1.299 MB / 0.594 GB, free: 78.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003347/0.9466, allocations: 0.5326 MB / 0.5945 GB, free: 78.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/0.9467, allocations: 39.56 kB / 0.5945 GB, free: 78.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.9468, allocations: 380.1 kB / 0.5949 GB, free: 77.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.9479, allocations: 0.8744 MB / 0.5957 GB, free: 77.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.9491, allocations: 1.338 MB / 0.5971 GB, free: 76.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.9504, allocations: 1.094 MB / 0.5981 GB, free: 76.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.9504, allocations: 7.094 kB / 0.5981 GB, free: 76.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.004254/0.9547, allocations: 3.024 MB / 0.6011 GB, free: 75.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.9547, allocations: 14.72 kB / 0.6011 GB, free: 75.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/0.9548, allocations: 14.19 kB / 0.6011 GB, free: 75.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.9562, allocations: 0.6242 MB / 0.6017 GB, free: 74.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.9576, allocations: 438.4 kB / 0.6021 GB, free: 74.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/0.9637, allocations: 5.706 MB / 0.6077 GB, free: 69.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.9654, allocations: 131.2 kB / 0.6078 GB, free: 69.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.9656, allocations: 76 kB / 0.6079 GB, free: 69.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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 {(6,72.2%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003014/0.9659, allocations: 210.5 kB / 0.6081 GB, free: 68.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.9662, allocations: 220.5 kB / 0.6083 GB, free: 68.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/0.9703, allocations: 2.713 MB / 0.611 GB, free: 66.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.9703, allocations: 20 kB / 0.611 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.9703, allocations: 4 kB / 0.611 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.9703, allocations: 11.45 kB / 0.611 GB, free: 66.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008232/0.9786, allocations: 5.751 MB / 0.6166 GB, free: 61.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.9786, allocations: 11.73 kB / 0.6166 GB, free: 61.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.9797, allocations: 277.2 kB / 0.6169 GB, free: 61.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001587/0.9813, allocations: 0.6893 MB / 0.6176 GB, free: 60.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.9814, allocations: 39.89 kB / 0.6176 GB, free: 60.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007193/0.9886, allocations: 7.418 MB / 0.6248 GB, free: 54.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9887, allocations: 8 kB / 0.6249 GB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005378/0.994, allocations: 4.102 MB / 0.6289 GB, free: 50.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/0.9953, allocations: 0.4896 MB / 0.6293 GB, free: 49.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.9956, allocations: 36 kB / 0.6294 GB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.9967, allocations: 121.4 kB / 0.6295 GB, free: 49.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003168/0.9971, allocations: 123.8 kB / 0.6296 GB, free: 49.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.9972, allocations: 43.28 kB / 0.6296 GB, free: 49.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001786/0.999, allocations: 1.32 MB / 0.6309 GB, free: 48.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.999, allocations: 0 / 0.6309 GB, free: 48.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002009/1.001, allocations: 0.6716 MB / 0.6316 GB, free: 47.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005411/1.006, allocations: 5.482 MB / 0.6369 GB, free: 42.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003816/1.01, allocations: 2.655 MB / 0.6395 GB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.01, allocations: 0 / 0.6395 GB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002228/1.013, allocations: 1.677 MB / 0.6412 GB, free: 37.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/1.015, allocations: 459.8 kB / 0.6416 GB, free: 37.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.025, allocations: 5.39 MB / 0.6469 GB, free: 31.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/1.027, allocations: 2.198 MB / 0.649 GB, free: 29.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001755/1.029, allocations: 455.8 kB / 0.6495 GB, free: 29.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/1.03, allocations: 1.058 MB / 0.6505 GB, free: 28.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.154e-06/1.03, allocations: 4 kB / 0.6505 GB, free: 28.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3137/1.344, allocations: 55.97 MB / 0.7052 GB, free: 106.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/1.344, allocations: 195.5 kB / 0.7053 GB, free: 106.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.429/4.773, allocations: 0 / 0.7053 GB, free: 106.3 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL_res.mat does not exist to compare? outputFormat=mat