Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 227.2 MB / 245 MB, free: 7.668 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008912/0.0008912, allocations: 96.11 kB / 297.2 MB, free: 6.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002504, allocations: 12 kB / 358 MB, free: 9.449 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.271, allocations: 51.48 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.3858, allocations: 95.86 MB / 0.4935 GB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.3862, allocations: 88.62 kB / 0.4936 GB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2376/0.6238, allocations: 23.98 MB / 0.517 GB, free: 90.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.6238, allocations: 0 / 0.517 GB, free: 90.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.44e-05/0.6239, allocations: 17.53 kB / 0.517 GB, free: 90.41 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002101/0.626, allocations: 1.13 MB / 0.5181 GB, free: 89.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.626, allocations: 9.406 kB / 0.5182 GB, free: 89.65 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002207/0.6263, allocations: 131 kB / 0.5183 GB, free: 89.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007341/0.627, allocations: 188.6 kB / 0.5185 GB, free: 89.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.6284, allocations: 0.6784 MB / 0.5191 GB, free: 89.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/0.6284, allocations: 71.66 kB / 0.5192 GB, free: 89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.6286, allocations: 87.59 kB / 0.5193 GB, free: 88.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.6299, allocations: 0.8051 MB / 0.5201 GB, free: 88.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/0.6299, allocations: 11.61 kB / 0.5201 GB, free: 88.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.319e-05/0.63, allocations: 39.55 kB / 0.5201 GB, free: 88.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.6301, allocations: 19.69 kB / 0.5201 GB, free: 88.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.6312, allocations: 0.5589 MB / 0.5207 GB, free: 88.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004039/0.6353, allocations: 3.653 MB / 0.5242 GB, free: 85.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004995/0.6358, allocations: 248.8 kB / 0.5245 GB, free: 85.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.6359, allocations: 0 / 0.5245 GB, free: 85.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.6359, allocations: 42.5 kB / 0.5245 GB, free: 85.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.272e-06/0.6359, allocations: 0 / 0.5245 GB, free: 85.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001878/0.6378, allocations: 1.115 MB / 0.5256 GB, free: 84.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.6378, allocations: 77.11 kB / 0.5257 GB, free: 84.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007508/0.6386, allocations: 0.6941 MB / 0.5264 GB, free: 83.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.6386, allocations: 25.7 kB / 0.5264 GB, free: 83.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.6388, allocations: 0.5024 MB / 0.5269 GB, free: 83.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.6389, allocations: 109.3 kB / 0.527 GB, free: 83.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.6389, allocations: 12 kB / 0.527 GB, free: 83.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.304e-05/0.639, allocations: 337.9 kB / 0.5273 GB, free: 82.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.6392, allocations: 133.2 kB / 0.5274 GB, free: 82.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.6396, allocations: 426.2 kB / 0.5278 GB, free: 82.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.6399, allocations: 207.7 kB / 0.528 GB, free: 81.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.6399, allocations: 0 / 0.528 GB, free: 81.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000904/0.6408, allocations: 0.6469 MB / 0.5287 GB, free: 81.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.6409, allocations: 8 kB / 0.5287 GB, free: 81.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.6409, allocations: 23.92 kB / 0.5287 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/0.641, allocations: 28.86 kB / 0.5287 GB, free: 81.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.6414, allocations: 151.7 kB / 0.5289 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006488/0.6421, allocations: 1.292 MB / 0.5301 GB, free: 79.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/0.6426, allocations: 56.09 kB / 0.5302 GB, free: 79.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.6427, allocations: 28 kB / 0.5302 GB, free: 79.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (75): * Single equations (assignments): 74 * 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.0002687/0.6429, allocations: 235.7 kB / 0.5304 GB, free: 79.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/0.643, allocations: 82.97 kB / 0.5305 GB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005721/0.6436, allocations: 354.4 kB / 0.5309 GB, free: 78.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6436, allocations: 4 kB / 0.5309 GB, free: 78.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6436, allocations: 3.953 kB / 0.5309 GB, free: 78.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6437, allocations: 3.984 kB / 0.5309 GB, free: 78.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.6451, allocations: 1.117 MB / 0.532 GB, free: 77.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6451, allocations: 4 kB / 0.532 GB, free: 77.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.6454, allocations: 63.95 kB / 0.532 GB, free: 77.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.43e-05/0.6454, allocations: 25.02 kB / 0.5321 GB, free: 77.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.6455, allocations: 8 kB / 0.5321 GB, free: 77.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005793/0.6461, allocations: 1.28 MB / 0.5333 GB, free: 76.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6461, allocations: 8.031 kB / 0.5333 GB, free: 76.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008346/0.6469, allocations: 0.6859 MB / 0.534 GB, free: 75.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.6472, allocations: 180.2 kB / 0.5342 GB, free: 75.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.6473, allocations: 11.94 kB / 0.5342 GB, free: 75.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.6477, allocations: 23.98 kB / 0.5342 GB, free: 75.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.6477, allocations: 27.92 kB / 0.5342 GB, free: 75.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.6478, allocations: 12 kB / 0.5342 GB, free: 75.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006023/0.6484, allocations: 0.5263 MB / 0.5347 GB, free: 74.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6484, allocations: 0 / 0.5347 GB, free: 74.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007509/0.6491, allocations: 208 kB / 0.5349 GB, free: 74.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * 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 (28): * Single equations (assignments): 27 * 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.001408/0.6506, allocations: 1.941 MB / 0.5368 GB, free: 72.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007816/0.6514, allocations: 480.6 kB / 0.5373 GB, free: 71.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6514, allocations: 4.062 kB / 0.5373 GB, free: 71.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.6517, allocations: 246.5 kB / 0.5375 GB, free: 71.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009199/0.6526, allocations: 210.1 kB / 0.5377 GB, free: 71.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007579/0.6602, allocations: 11.09 MB / 0.5486 GB, free: 60.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.6607, allocations: 0.9762 MB / 0.5495 GB, free: 59.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004312/0.6611, allocations: 110.6 kB / 0.5496 GB, free: 58.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.6614, allocations: 319.3 kB / 0.5499 GB, free: 58.62 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.6614, allocations: 0 / 0.5499 GB, free: 58.62 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.6946, allocations: 19.2 MB / 0.5687 GB, free: 39.7 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/0.6948, allocations: 230.5 kB / 0.5689 GB, free: 39.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/3.047, allocations: 4 kB / 0.5689 GB, free: 39.44 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat