Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 172.3 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.482/1.482, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007715/0.0007715, allocations: 74.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.728e-05, allocations: 4 kB / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07716/0.07721, allocations: 47.57 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.292/0.3692, allocations: 97.01 MB / 467.1 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.3695, allocations: 82.7 kB / 467.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06615/0.4357, allocations: 26.26 MB / 493.5 MB, free: 3.273 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4357, allocations: 0 / 493.5 MB, free: 3.273 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.036e-05/0.4358, allocations: 23.94 kB / 493.5 MB, free: 3.25 MB / 362.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.001666/0.4375, allocations: 1.107 MB / 494.6 MB, free: 2.098 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4375, allocations: 8.031 kB / 494.6 MB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001632/0.4377, allocations: 144.1 kB / 494.8 MB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005131/0.4382, allocations: 182.3 kB / 494.9 MB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.4395, allocations: 0.758 MB / 495.7 MB, free: 0.957 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.087e-05/0.4396, allocations: 74 kB / 495.8 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.4397, allocations: 99.98 kB / 495.9 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.4412, allocations: 0.8763 MB / 496.7 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.4413, allocations: 3.906 kB / 496.7 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/0.4414, allocations: 51.88 kB / 496.8 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.4414, allocations: 24 kB / 496.8 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009474/0.4423, allocations: 0.5741 MB / 497.4 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004517/0.4469, allocations: 3.937 MB / 0.4896 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004709/0.4474, allocations: 337.3 kB / 0.4899 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.4476, allocations: 125.4 kB / 0.49 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.4476, allocations: 8.266 kB / 0.49 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.4476, allocations: 34.84 kB / 0.4901 GB, free: 10.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.866e-06/0.4477, allocations: 0 / 0.4901 GB, free: 10.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001535/0.4492, allocations: 0.9576 MB / 0.491 GB, free: 9.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.4493, allocations: 81.11 kB / 0.4911 GB, free: 9.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008217/0.4501, allocations: 0.6802 MB / 0.4917 GB, free: 8.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.4501, allocations: 33.7 kB / 0.4918 GB, free: 8.676 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003638/0.4505, allocations: 0.564 MB / 0.4923 GB, free: 8.102 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.559e-05/0.4506, allocations: 134.1 kB / 0.4924 GB, free: 7.969 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.4506, allocations: 12 kB / 0.4925 GB, free: 7.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4507, allocations: 330 kB / 0.4928 GB, free: 7.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.4509, allocations: 125.6 kB / 0.4929 GB, free: 7.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.4513, allocations: 433.9 kB / 0.4933 GB, free: 6.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.4516, allocations: 212.1 kB / 0.4935 GB, free: 6.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4516, allocations: 4 kB / 0.4935 GB, free: 6.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000904/0.4525, allocations: 0.6533 MB / 0.4941 GB, free: 6.062 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.4526, allocations: 8 kB / 0.4942 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.4526, allocations: 12 kB / 0.4942 GB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.4528, allocations: 28.86 kB / 0.4942 GB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/0.4533, allocations: 168 kB / 0.4944 GB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008499/0.4541, allocations: 1.292 MB / 0.4956 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.4546, allocations: 44.05 kB / 0.4957 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.4547, allocations: 39.94 kB / 0.4957 GB, free: 4.344 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 () * 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.0001143/0.4548, allocations: 148.6 kB / 0.4958 GB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.4549, allocations: 86.92 kB / 0.4959 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005282/0.4554, allocations: 338.8 kB / 0.4962 GB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4555, allocations: 8 kB / 0.4963 GB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4555, allocations: 4 kB / 0.4963 GB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4555, allocations: 3.984 kB / 0.4963 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.457, allocations: 1.204 MB / 0.4974 GB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.457, allocations: 0 / 0.4974 GB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.4574, allocations: 75.89 kB / 0.4975 GB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.976e-05/0.4575, allocations: 24.84 kB / 0.4975 GB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.4575, allocations: 12.17 kB / 0.4975 GB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000749/0.4582, allocations: 1.28 MB / 0.4988 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4583, allocations: 12.12 kB / 0.4988 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000714/0.459, allocations: 0.6701 MB / 0.4995 GB, free: 172 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.4592, allocations: 188.1 kB / 0.4996 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/0.4593, allocations: 12 kB / 0.4996 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.4597, allocations: 27.98 kB / 0.4997 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.4597, allocations: 27.95 kB / 0.4997 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.4598, allocations: 19.95 kB / 0.4997 GB, free: 15.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006419/0.4604, allocations: 0.5148 MB / 0.5002 GB, free: 15.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4604, allocations: 4 kB / 0.5002 GB, free: 15.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007377/0.4612, allocations: 231.9 kB / 0.5005 GB, free: 15.14 MB / 394.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.001377/0.4625, allocations: 1.891 MB / 0.5023 GB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006983/0.4633, allocations: 463.6 kB / 0.5027 GB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4633, allocations: 1.938 kB / 0.5027 GB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.4636, allocations: 242.9 kB / 0.503 GB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007999/0.4644, allocations: 200.3 kB / 0.5032 GB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.4668, allocations: 1.413 MB / 0.5045 GB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.4673, allocations: 1.023 MB / 0.5055 GB, free: 9.738 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003717/0.4677, allocations: 103 kB / 0.5056 GB, free: 9.633 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004109/0.4681, allocations: 367.3 kB / 0.506 GB, free: 9.273 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4682, allocations: 4 kB / 0.506 GB, free: 9.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/0.5025, allocations: 19.34 MB / 0.5249 GB, free: 5.906 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.5027, allocations: 185.4 kB / 0.5251 GB, free: 5.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/2.884, allocations: 0 / 0.5251 GB, free: 5.68 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat