Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.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_LoadDump,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",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.001084/0.001084, allocations: 181.2 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.251/1.251, allocations: 205.4 MB / 223.1 MB, free: 9.039 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.0009097/0.0009098, allocations: 92.09 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002628, allocations: 8 kB / 328.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.208, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.3314, allocations: 115.7 MB / 491.6 MB, free: 12.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.3317, allocations: 87.95 kB / 491.7 MB, free: 12.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3385/0.6702, allocations: 62.39 MB / 0.5411 GB, free: 77.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.6703, allocations: 0 / 0.5411 GB, free: 77.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003466/0.6706, allocations: 83.92 kB / 0.5412 GB, free: 77.12 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: 731 * Number of variables: 731 Notification: Performance of Generate backend data structure: time 0.009936/0.6806, allocations: 3.444 MB / 0.5445 GB, free: 73.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.6807, allocations: 8.031 kB / 0.5446 GB, free: 73.59 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001896/0.6826, allocations: 454.3 kB / 0.545 GB, free: 73.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/0.6852, allocations: 487.4 kB / 0.5455 GB, free: 72.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005654/0.6909, allocations: 2.084 MB / 0.5475 GB, free: 70.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003606/0.6913, allocations: 387.9 kB / 0.5479 GB, free: 70.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.6924, allocations: 279.9 kB / 0.5481 GB, free: 69.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008736/0.7012, allocations: 3.676 MB / 0.5517 GB, free: 66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.7013, allocations: 8 kB / 0.5517 GB, free: 65.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006732/0.702, allocations: 120 kB / 0.5518 GB, free: 65.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.7021, allocations: 113.5 kB / 0.5519 GB, free: 65.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005662/0.7078, allocations: 2.942 MB / 0.5548 GB, free: 62.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02015/0.728, allocations: 11.98 MB / 0.5665 GB, free: 50.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002882/0.7309, allocations: 2.86 MB / 0.5693 GB, free: 47.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002925/0.7312, allocations: 142.4 kB / 0.5695 GB, free: 47.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001618/0.7329, allocations: 1.175 MB / 0.5706 GB, free: 46.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=156): time 4.448e-06/0.7329, allocations: 0 / 0.5706 GB, free: 46.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=179): time 0.0207/0.7536, allocations: 9.443 MB / 0.5798 GB, free: 36.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.7538, allocations: 312.7 kB / 0.5801 GB, free: 36.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003702/0.7575, allocations: 1.86 MB / 0.5819 GB, free: 34.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002728/0.7578, allocations: 69.69 kB / 0.582 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001231/0.759, allocations: 1.384 MB / 0.5834 GB, free: 32.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005862/0.7596, allocations: 0.6008 MB / 0.5839 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.7598, allocations: 40 kB / 0.584 GB, free: 32.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.76, allocations: 401.9 kB / 0.5844 GB, free: 31.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.7615, allocations: 1.05 MB / 0.5854 GB, free: 30.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.7632, allocations: 1.588 MB / 0.5869 GB, free: 28.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.7649, allocations: 1.255 MB / 0.5882 GB, free: 27.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.765, allocations: 4 kB / 0.5882 GB, free: 27.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.005564/0.7705, allocations: 3.675 MB / 0.5918 GB, free: 23.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009757/0.7715, allocations: 5.408 MB / 0.597 GB, free: 18.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.7716, allocations: 16 kB / 0.5971 GB, free: 18.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002717/0.7743, allocations: 1.203 MB / 0.5982 GB, free: 16.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.7756, allocations: 383.4 kB / 0.5986 GB, free: 16.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/0.7881, allocations: 14.88 MB / 0.6131 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002449/0.7906, allocations: 171.8 kB / 0.6133 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003619/0.791, allocations: 79.98 kB / 0.6134 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.791, allocations: 4 kB / 0.6134 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006515/0.7975, allocations: 3.422 MB / 0.6167 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.517e-05/0.7976, allocations: 16.31 kB / 0.6167 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003086/0.8007, allocations: 1.198 MB / 0.6179 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.8023, allocations: 375.4 kB / 0.6183 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/0.8187, allocations: 14.85 MB / 0.6328 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/0.8215, allocations: 167.9 kB / 0.6329 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004455/0.822, allocations: 79.98 kB / 0.633 GB, free: 11.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 204 * 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: 6 * 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: 3 {(4,100.0%) 14,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00235/0.8243, allocations: 0.987 MB / 0.634 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000764/0.8251, allocations: 233.2 kB / 0.6342 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007245/0.8324, allocations: 3.514 MB / 0.6376 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/0.8324, allocations: 20 kB / 0.6376 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.8324, allocations: 4 kB / 0.6376 GB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.8325, allocations: 7.969 kB / 0.6376 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2149/1.047, allocations: 6.734 MB / 0.6442 GB, free: 96.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/1.047, allocations: 2.922 kB / 0.6442 GB, free: 96.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.049, allocations: 209 kB / 0.6444 GB, free: 96.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003605/1.052, allocations: 1.431 MB / 0.6458 GB, free: 96.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002024/1.052, allocations: 40.62 kB / 0.6459 GB, free: 96.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/1.067, allocations: 15.26 MB / 0.6608 GB, free: 90.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.067, allocations: 4.031 kB / 0.6608 GB, free: 90.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007758/1.075, allocations: 4.967 MB / 0.6656 GB, free: 90.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/1.077, allocations: 0.5285 MB / 0.6661 GB, free: 89.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004528/1.077, allocations: 54.16 kB / 0.6662 GB, free: 89.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/1.079, allocations: 132.1 kB / 0.6663 GB, free: 89.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005311/1.079, allocations: 228.9 kB / 0.6665 GB, free: 89.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/1.08, allocations: 52.66 kB / 0.6666 GB, free: 89.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002577/1.082, allocations: 1.434 MB / 0.668 GB, free: 89.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.082, allocations: 0 / 0.668 GB, free: 89.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005018/1.087, allocations: 1.261 MB / 0.6692 GB, free: 89.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulseStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 52,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007905/1.095, allocations: 6.194 MB / 0.6753 GB, free: 88.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008717/1.104, allocations: 6.373 MB / 0.6815 GB, free: 85.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/1.104, allocations: 0 / 0.6815 GB, free: 85.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003415/1.107, allocations: 2.429 MB / 0.6839 GB, free: 83.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/1.11, allocations: 0.5259 MB / 0.6844 GB, free: 83.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0352/1.145, allocations: 28.72 MB / 0.7124 GB, free: 62.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00247/1.148, allocations: 2.313 MB / 0.7147 GB, free: 60.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00231/1.15, allocations: 0.599 MB / 0.7153 GB, free: 60.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/1.152, allocations: 1.15 MB / 0.7164 GB, free: 59.01 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/1.152, allocations: 4 kB / 0.7164 GB, free: 59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/1.26, allocations: 71.51 MB / 0.7862 GB, free: 9.812 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002719/1.26, allocations: 238.9 kB / 0.7864 GB, free: 9.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.883/5.143, allocations: 4.062 kB / 0.7864 GB, free: 9.516 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat does not exist to compare? outputFormat=mat