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.0009952/0.0009952, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.385/1.385, allocations: 221.3 MB / 235.5 MB, free: 2.902 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008782/0.0008782, allocations: 100 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.387e-05/2.407e-05, allocations: 4 kB / 343.9 MB, free: 4.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.09648, allocations: 50.42 MB / 394.4 MB, free: 1.738 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3813/0.4778, allocations: 98.13 MB / 492.5 MB, free: 5.289 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.4781, allocations: 79.95 kB / 492.6 MB, free: 5.211 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06784/0.546, allocations: 26.29 MB / 0.5067 GB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.546, allocations: 0 / 0.5067 GB, free: 10.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.294e-05/0.5461, allocations: 27.98 kB / 0.5067 GB, free: 10.72 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001614/0.5477, allocations: 1.1 MB / 0.5078 GB, free: 9.574 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5478, allocations: 12.03 kB / 0.5078 GB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/0.5479, allocations: 144.1 kB / 0.5079 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005089/0.5484, allocations: 178.4 kB / 0.5081 GB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.5497, allocations: 0.7613 MB / 0.5089 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.5498, allocations: 81.94 kB / 0.5089 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.5499, allocations: 92 kB / 0.509 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.5514, allocations: 0.8724 MB / 0.5099 GB, free: 7.363 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.5514, allocations: 15.83 kB / 0.5099 GB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.298e-05/0.5515, allocations: 40 kB / 0.5099 GB, free: 7.309 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.5515, allocations: 28 kB / 0.51 GB, free: 7.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009746/0.5525, allocations: 0.5663 MB / 0.5105 GB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004592/0.5571, allocations: 3.94 MB / 0.5144 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.5576, allocations: 327.5 kB / 0.5147 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.5578, allocations: 135 kB / 0.5148 GB, free: 2.055 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.5578, allocations: 12.16 kB / 0.5148 GB, free: 2.043 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.5579, allocations: 34.84 kB / 0.5148 GB, free: 2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 1.734e-06/0.5579, allocations: 0 / 0.5148 GB, free: 2 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001508/0.5594, allocations: 0.946 MB / 0.5158 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.5595, allocations: 85.11 kB / 0.5158 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008451/0.5603, allocations: 0.684 MB / 0.5165 GB, free: 208 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.5604, allocations: 29.7 kB / 0.5165 GB, free: 172 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.5607, allocations: 0.564 MB / 0.5171 GB, free: 15.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.997e-05/0.5608, allocations: 142 kB / 0.5172 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.5609, allocations: 16 kB / 0.5172 GB, free: 15.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.561, allocations: 337.9 kB / 0.5176 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.5612, allocations: 125.6 kB / 0.5177 GB, free: 14.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.5616, allocations: 437.8 kB / 0.5181 GB, free: 14.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.5619, allocations: 199.6 kB / 0.5183 GB, free: 14.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.5619, allocations: 4 kB / 0.5183 GB, free: 14.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009166/0.5628, allocations: 0.6499 MB / 0.5189 GB, free: 13.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.5629, allocations: 8 kB / 0.5189 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.5629, allocations: 12 kB / 0.519 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.5631, allocations: 36.84 kB / 0.519 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.5636, allocations: 164 kB / 0.5191 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000924/0.5645, allocations: 1.295 MB / 0.5204 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000447/0.565, allocations: 44.05 kB / 0.5205 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.565, allocations: 32 kB / 0.5205 GB, free: 11.83 MB / 410.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 () * 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.0001195/0.5651, allocations: 148.7 kB / 0.5206 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.914e-05/0.5652, allocations: 79.06 kB / 0.5207 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005595/0.5658, allocations: 350.6 kB / 0.521 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5658, allocations: 8 kB / 0.521 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5658, allocations: 0 / 0.521 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5658, allocations: 0 / 0.521 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.5674, allocations: 1.22 MB / 0.5222 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.5674, allocations: 4 kB / 0.5222 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/0.5678, allocations: 71.91 kB / 0.5223 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-05/0.5679, allocations: 24.84 kB / 0.5223 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.5679, allocations: 8.219 kB / 0.5223 GB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008152/0.5687, allocations: 1.268 MB / 0.5236 GB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.5687, allocations: 12.09 kB / 0.5236 GB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/0.5695, allocations: 0.6774 MB / 0.5242 GB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.5698, allocations: 192 kB / 0.5244 GB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.089e-05/0.5698, allocations: 15.98 kB / 0.5244 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.5702, allocations: 23.98 kB / 0.5245 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.5703, allocations: 27.91 kB / 0.5245 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.5703, allocations: 16 kB / 0.5245 GB, free: 7.355 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006612/0.571, allocations: 0.5264 MB / 0.525 GB, free: 6.832 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.571, allocations: 4 kB / 0.525 GB, free: 6.828 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007458/0.5717, allocations: 220 kB / 0.5252 GB, free: 6.613 MB / 410.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 () * 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.001465/0.5732, allocations: 1.877 MB / 0.5271 GB, free: 4.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007718/0.574, allocations: 487.2 kB / 0.5275 GB, free: 4.172 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.574, allocations: 2 kB / 0.5275 GB, free: 4.172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.5743, allocations: 246.9 kB / 0.5278 GB, free: 3.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008641/0.5752, allocations: 196 kB / 0.528 GB, free: 3.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.5777, allocations: 1.401 MB / 0.5293 GB, free: 2.266 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.5783, allocations: 1.02 MB / 0.5303 GB, free: 1.219 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003861/0.5787, allocations: 103 kB / 0.5304 GB, free: 1.113 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00042/0.5791, allocations: 359.3 kB / 0.5308 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5791, allocations: 4 kB / 0.5308 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2527/0.8319, allocations: 19.32 MB / 0.5496 GB, free: 118.3 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.8321, allocations: 189 kB / 0.5498 GB, free: 118.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.29, allocations: 2.078 kB / 0.5498 GB, free: 118.1 MB / 426.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