Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0015/0.0015, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009224/0.0009226, allocations: 92.42 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.222e-05, allocations: 4 kB / 343.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1025, allocations: 51.47 MB / 395.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.342/0.4445, allocations: 81.87 MB / 477.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.4448, allocations: 73.98 kB / 477.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01671/0.4615, allocations: 6.635 MB / 483.8 MB, free: 5.695 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4615, allocations: 0 / 483.8 MB, free: 5.695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.293e-05/0.4616, allocations: 8 kB / 483.9 MB, free: 5.688 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001312/0.4629, allocations: 0.6972 MB / 484.6 MB, free: 4.977 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4629, allocations: 11.97 kB / 484.6 MB, free: 4.965 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.4632, allocations: 59.42 kB / 484.6 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.4637, allocations: 330.1 kB / 484.9 MB, free: 4.578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.4637, allocations: 12 kB / 485 MB, free: 4.566 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.4638, allocations: 24 kB / 485 MB, free: 4.543 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005311/0.4643, allocations: 330.4 kB / 485.3 MB, free: 4.344 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.4648, allocations: 367.3 kB / 485.7 MB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4649, allocations: 0 / 485.7 MB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.4649, allocations: 0 / 485.7 MB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.4649, allocations: 12 kB / 485.7 MB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.467, allocations: 1.492 MB / 487.2 MB, free: 2.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006508/0.4677, allocations: 348 kB / 487.5 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.4679, allocations: 180.1 kB / 487.7 MB, free: 2.402 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.4679, allocations: 16.3 kB / 487.7 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.468, allocations: 42.22 kB / 487.7 MB, free: 2.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/0.468, allocations: 0 / 487.7 MB, free: 2.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.001141/0.4691, allocations: 489.5 kB / 488.2 MB, free: 1.961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.4692, allocations: 166.2 kB / 488.4 MB, free: 1.762 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.4694, allocations: 206.9 kB / 488.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.4694, allocations: 37.64 kB / 488.6 MB, free: 1.543 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/0.4695, allocations: 204.3 kB / 488.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.4696, allocations: 135.4 kB / 488.9 MB, free: 1.262 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.4696, allocations: 6.156 kB / 489 MB, free: 1.258 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.437e-05/0.4697, allocations: 340.4 kB / 489.3 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.4699, allocations: 117 kB / 489.4 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.4701, allocations: 208.7 kB / 489.6 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.4704, allocations: 135.9 kB / 489.7 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4704, allocations: 0 / 489.7 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001403/0.4718, allocations: 0.6157 MB / 490.4 MB, free: 92 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.4719, allocations: 8 kB / 490.4 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4719, allocations: 0 / 490.4 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008567/0.4727, allocations: 256.7 kB / 490.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.4731, allocations: 86.75 kB / 490.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.4743, allocations: 1.336 MB / 492 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005363/0.4749, allocations: 83.78 kB / 492.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.4749, allocations: 19.92 kB / 492.1 MB, free: 14.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.4751, allocations: 112.9 kB / 492.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001158/0.4762, allocations: 496.5 kB / 492.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.272e-05/0.4763, allocations: 39.52 kB / 492.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.4779, allocations: 0.5912 MB / 493.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.4779, allocations: 4 kB / 493.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4779, allocations: 0 / 493.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4779, allocations: 3.984 kB / 493.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000584/0.4785, allocations: 409.2 kB / 493.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-06/0.4785, allocations: 0 / 493.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.4789, allocations: 63.89 kB / 493.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007826/0.4797, allocations: 265.3 kB / 494.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.4797, allocations: 8 kB / 494.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.4809, allocations: 1.345 MB / 495.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.4809, allocations: 0 / 495.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.4826, allocations: 0.8439 MB / 496.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.435e-05/0.4827, allocations: 108.7 kB / 496.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.4828, allocations: 3.953 kB / 496.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.4832, allocations: 59.94 kB / 496.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.4833, allocations: 23.47 kB / 496.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.4833, allocations: 11.75 kB / 496.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001524/0.4835, allocations: 169 kB / 496.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4835, allocations: 0 / 496.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004533/0.4839, allocations: 99.69 kB / 496.7 MB, free: 10.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.002025/0.486, allocations: 1.383 MB / 498.1 MB, free: 9.184 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007127/0.4867, allocations: 341.6 kB / 498.5 MB, free: 8.957 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.4867, allocations: 6 kB / 498.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.4871, allocations: 197.4 kB / 498.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.4874, allocations: 27.38 kB / 498.7 MB, free: 8.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.489, allocations: 0.6507 MB / 499.3 MB, free: 8.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.4894, allocations: 0.7995 MB / 0.4884 GB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.4896, allocations: 45.17 kB / 0.4885 GB, free: 7.309 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.4898, allocations: 119 kB / 0.4886 GB, free: 7.277 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4898, allocations: 0 / 0.4886 GB, free: 7.277 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.5193, allocations: 7.623 MB / 0.496 GB, free: 15.75 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/0.5196, allocations: 144.3 kB / 0.4962 GB, free: 15.56 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.534, allocations: 4 kB / 0.4962 GB, free: 15.55 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat does not exist to compare? outputFormat=mat