Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009976/0.0009976, allocations: 180.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009496/0.0009499, allocations: 96.59 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002687/0.0002689, allocations: 12 kB / 351.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2349, allocations: 50.4 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.3424, allocations: 98.2 MB / 499.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.3427, allocations: 87.94 kB / 499.9 MB, free: 14.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2421/0.5849, allocations: 26.27 MB / 0.5138 GB, free: 93.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.5849, allocations: 0 / 0.5138 GB, free: 93.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.029e-05/0.585, allocations: 25.06 kB / 0.5138 GB, free: 93.88 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00255/0.5876, allocations: 1.238 MB / 0.515 GB, free: 93.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.5876, allocations: 7.375 kB / 0.515 GB, free: 93.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000319/0.588, allocations: 147.7 kB / 0.5152 GB, free: 92.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006456/0.5886, allocations: 187.5 kB / 0.5154 GB, free: 92.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.5903, allocations: 0.7647 MB / 0.5161 GB, free: 92.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.5904, allocations: 70.81 kB / 0.5162 GB, free: 92.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.5906, allocations: 93.84 kB / 0.5163 GB, free: 92.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.5922, allocations: 0.9175 MB / 0.5172 GB, free: 91.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.5923, allocations: 2.75 kB / 0.5172 GB, free: 91.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-05/0.5923, allocations: 41.91 kB / 0.5172 GB, free: 91.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.5924, allocations: 24.28 kB / 0.5172 GB, free: 91.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.5936, allocations: 0.6325 MB / 0.5178 GB, free: 91.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004749/0.5984, allocations: 3.948 MB / 0.5217 GB, free: 88.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.5989, allocations: 369.1 kB / 0.5221 GB, free: 88.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.5989, allocations: 8.156 kB / 0.5221 GB, free: 88.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.5989, allocations: 38.78 kB / 0.5221 GB, free: 88.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.605e-06/0.599, allocations: 0 / 0.5221 GB, free: 88.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002114/0.6011, allocations: 1.239 MB / 0.5233 GB, free: 87.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.6011, allocations: 80.73 kB / 0.5234 GB, free: 87.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008308/0.602, allocations: 0.7003 MB / 0.5241 GB, free: 87.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.602, allocations: 32.73 kB / 0.5241 GB, free: 87.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.6022, allocations: 0.5635 MB / 0.5247 GB, free: 87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.6023, allocations: 133.9 kB / 0.5248 GB, free: 86.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/0.6023, allocations: 15.59 kB / 0.5248 GB, free: 86.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.6e-05/0.6024, allocations: 331.2 kB / 0.5251 GB, free: 86.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.6027, allocations: 157.3 kB / 0.5253 GB, free: 86.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.6031, allocations: 458.8 kB / 0.5257 GB, free: 86.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.6034, allocations: 235.3 kB / 0.5259 GB, free: 85.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.6035, allocations: 4 kB / 0.5259 GB, free: 85.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001036/0.6045, allocations: 0.7001 MB / 0.5266 GB, free: 85.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.6045, allocations: 19.25 kB / 0.5266 GB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.6045, allocations: 8 kB / 0.5266 GB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/0.6047, allocations: 39.94 kB / 0.5267 GB, free: 85.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.6052, allocations: 163 kB / 0.5268 GB, free: 85.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000665/0.6058, allocations: 1.292 MB / 0.5281 GB, free: 83.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.6064, allocations: 39.39 kB / 0.5281 GB, free: 83.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.6065, allocations: 40 kB / 0.5282 GB, free: 83.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003671/0.6068, allocations: 257.5 kB / 0.5284 GB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.607, allocations: 79.06 kB / 0.5285 GB, free: 83.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006649/0.6076, allocations: 395.4 kB / 0.5289 GB, free: 82.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.6076, allocations: 4 kB / 0.5289 GB, free: 82.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.6076, allocations: 0 / 0.5289 GB, free: 82.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6077, allocations: 0 / 0.5289 GB, free: 82.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.6094, allocations: 1.286 MB / 0.5301 GB, free: 81.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.6094, allocations: 0 / 0.5301 GB, free: 81.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.6098, allocations: 79.89 kB / 0.5302 GB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-05/0.6099, allocations: 28.78 kB / 0.5302 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.6099, allocations: 12.22 kB / 0.5302 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006199/0.6105, allocations: 1.28 MB / 0.5315 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.6105, allocations: 8.094 kB / 0.5315 GB, free: 80.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008907/0.6114, allocations: 0.7515 MB / 0.5322 GB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.6118, allocations: 184.2 kB / 0.5324 GB, free: 79.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.612, allocations: 12 kB / 0.5324 GB, free: 79.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.6124, allocations: 23.98 kB / 0.5324 GB, free: 78.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.6125, allocations: 31.91 kB / 0.5325 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.6125, allocations: 19.88 kB / 0.5325 GB, free: 78.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000815/0.6134, allocations: 0.5303 MB / 0.533 GB, free: 78.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6134, allocations: 0 / 0.533 GB, free: 78.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001127/0.6145, allocations: 216 kB / 0.5332 GB, free: 78.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001478/0.616, allocations: 1.963 MB / 0.5351 GB, free: 76.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009219/0.6169, allocations: 0.5317 MB / 0.5357 GB, free: 75.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6169, allocations: 0 / 0.5357 GB, free: 75.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.6173, allocations: 272 kB / 0.5359 GB, free: 75.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.6182, allocations: 194.1 kB / 0.5361 GB, free: 75.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008287/0.6265, allocations: 11.83 MB / 0.5476 GB, free: 63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.627, allocations: 1.016 MB / 0.5486 GB, free: 61.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004953/0.6275, allocations: 103 kB / 0.5487 GB, free: 61.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.6279, allocations: 363.3 kB / 0.5491 GB, free: 61.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6279, allocations: 0 / 0.5491 GB, free: 61.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/0.6659, allocations: 19.13 MB / 0.5678 GB, free: 42.65 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.6661, allocations: 208.2 kB / 0.568 GB, free: 42.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/3.242, allocations: 7.938 kB / 0.568 GB, free: 42.41 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat