Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001041/0.001041, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 227.2 MB / 245 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008815/0.0008814, allocations: 98.45 kB / 297.2 MB, free: 6.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002098/0.0002098, allocations: 8 kB / 358 MB, free: 9.406 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1055/0.3056, allocations: 99.01 MB / 0.4966 GB, free: 7.539 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.3059, allocations: 83.95 kB / 0.4967 GB, free: 7.457 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2238/0.5297, allocations: 26.34 MB / 0.5224 GB, free: 89.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5297, allocations: 4 kB / 0.5224 GB, free: 89.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.893e-05/0.5298, allocations: 23.94 kB / 0.5224 GB, free: 89.01 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.002256/0.5321, allocations: 1.242 MB / 0.5236 GB, free: 87.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.5321, allocations: 8.031 kB / 0.5236 GB, free: 87.71 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002447/0.5324, allocations: 148.1 kB / 0.5238 GB, free: 87.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005828/0.533, allocations: 170.4 kB / 0.524 GB, free: 87.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.5344, allocations: 0.7688 MB / 0.5247 GB, free: 86.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.5345, allocations: 74 kB / 0.5248 GB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.5346, allocations: 92 kB / 0.5249 GB, free: 86.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.536, allocations: 0.9189 MB / 0.5258 GB, free: 85.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.859e-05/0.5361, allocations: 15.84 kB / 0.5258 GB, free: 85.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-05/0.5361, allocations: 43.94 kB / 0.5258 GB, free: 85.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.5362, allocations: 27.94 kB / 0.5258 GB, free: 85.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.5373, allocations: 0.6325 MB / 0.5265 GB, free: 84.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004271/0.5416, allocations: 3.944 MB / 0.5303 GB, free: 80.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.542, allocations: 356.3 kB / 0.5307 GB, free: 80.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.5421, allocations: 8.281 kB / 0.5307 GB, free: 80.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.5421, allocations: 34.84 kB / 0.5307 GB, free: 80.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.5421, allocations: 0 / 0.5307 GB, free: 80.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.00199/0.5441, allocations: 1.244 MB / 0.5319 GB, free: 78.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.5442, allocations: 81.11 kB / 0.532 GB, free: 78.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007339/0.5449, allocations: 0.6956 MB / 0.5327 GB, free: 78.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.5449, allocations: 29.7 kB / 0.5327 GB, free: 78.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.5452, allocations: 0.5717 MB / 0.5332 GB, free: 77.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/0.5453, allocations: 130 kB / 0.5334 GB, free: 77.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.5453, allocations: 19.94 kB / 0.5334 GB, free: 77.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.5454, allocations: 333.9 kB / 0.5337 GB, free: 76.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.5457, allocations: 153.9 kB / 0.5339 GB, free: 76.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.546, allocations: 471.9 kB / 0.5343 GB, free: 76.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.5464, allocations: 228.8 kB / 0.5345 GB, free: 76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5464, allocations: 4 kB / 0.5345 GB, free: 76 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009482/0.5473, allocations: 0.7043 MB / 0.5352 GB, free: 75.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.5474, allocations: 8 kB / 0.5352 GB, free: 75.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.5474, allocations: 12 kB / 0.5352 GB, free: 75.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/0.5475, allocations: 41.19 kB / 0.5353 GB, free: 75.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/0.548, allocations: 163.7 kB / 0.5354 GB, free: 75.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006177/0.5486, allocations: 1.296 MB / 0.5367 GB, free: 73.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/0.5491, allocations: 39.89 kB / 0.5367 GB, free: 73.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.5492, allocations: 32 kB / 0.5368 GB, free: 73.56 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.0003175/0.5495, allocations: 257.8 kB / 0.537 GB, free: 73.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.5496, allocations: 83 kB / 0.5371 GB, free: 73.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005997/0.5502, allocations: 406 kB / 0.5375 GB, free: 72.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5502, allocations: 7.953 kB / 0.5375 GB, free: 72.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.5503, allocations: 0 / 0.5375 GB, free: 72.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5503, allocations: 0 / 0.5375 GB, free: 72.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.5518, allocations: 1.27 MB / 0.5387 GB, free: 71.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.5518, allocations: 0 / 0.5387 GB, free: 71.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.5521, allocations: 75.89 kB / 0.5388 GB, free: 71.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.33e-05/0.5522, allocations: 20.86 kB / 0.5388 GB, free: 71.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.5523, allocations: 15.98 kB / 0.5388 GB, free: 71.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006018/0.5529, allocations: 1.28 MB / 0.5401 GB, free: 69.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5529, allocations: 4.031 kB / 0.5401 GB, free: 69.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008466/0.5537, allocations: 0.7366 MB / 0.5408 GB, free: 69.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.554, allocations: 184.1 kB / 0.541 GB, free: 68.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.414e-05/0.5541, allocations: 19.94 kB / 0.541 GB, free: 68.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.5544, allocations: 31.98 kB / 0.541 GB, free: 68.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.5545, allocations: 27.91 kB / 0.5411 GB, free: 68.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.5545, allocations: 8 kB / 0.5411 GB, free: 68.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000559/0.5551, allocations: 0.5303 MB / 0.5416 GB, free: 68.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5551, allocations: 0 / 0.5416 GB, free: 68.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007524/0.5559, allocations: 224 kB / 0.5418 GB, free: 68.07 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.001283/0.5572, allocations: 1.96 MB / 0.5437 GB, free: 66.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000759/0.5579, allocations: 0.5199 MB / 0.5442 GB, free: 65.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5579, allocations: 4.25 kB / 0.5442 GB, free: 65.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.5583, allocations: 274.5 kB / 0.5445 GB, free: 65.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007588/0.559, allocations: 208.3 kB / 0.5447 GB, free: 65.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007056/0.5661, allocations: 11.82 MB / 0.5562 GB, free: 52.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.5665, allocations: 1.012 MB / 0.5572 GB, free: 51.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004125/0.5669, allocations: 107 kB / 0.5573 GB, free: 51.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/0.5673, allocations: 359.3 kB / 0.5577 GB, free: 51.37 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5673, allocations: 0 / 0.5577 GB, free: 51.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/0.602, allocations: 19.14 MB / 0.5764 GB, free: 32.48 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.6022, allocations: 211.9 kB / 0.5766 GB, free: 32.24 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.045, allocations: 0 / 0.5766 GB, free: 32.24 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat