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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009622/0.0009621, allocations: 100.3 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001041/0.001041, allocations: 202.8 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.614/1.614, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002505/0.0002506, allocations: 8 kB / 306.7 MB, free: 1.512 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1151, allocations: 51.49 MB / 358.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003356/0.1185, allocations: 2.541 MB / 360.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.1199, allocations: 0.8357 MB / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.12, allocations: 4 kB / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.668e-05/0.1201, allocations: 39.69 kB / 361.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.1204, allocations: 123.5 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.1207, allocations: 111.8 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.1212, allocations: 352.8 kB / 362.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.1214, allocations: 143.6 kB / 362.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.1217, allocations: 187.4 kB / 362.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.122, allocations: 215.2 kB / 362.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.122, allocations: 24 kB / 362.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.661e-05/0.1222, allocations: 36 kB / 362.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.058e-05/0.1223, allocations: 83.66 kB / 362.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.348e-05/0.1224, allocations: 109.4 kB / 363 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.1227, allocations: 399.1 kB / 363.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1228, allocations: 0 / 363.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1228, allocations: 0 / 363.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1228, allocations: 4 kB / 363.4 MB, free: 8.82 MB / 302.1 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.001511/0.1243, allocations: 0.7564 MB / 364.1 MB, free: 8.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.1244, allocations: 8.031 kB / 364.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.1245, allocations: 74.53 kB / 364.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.1247, allocations: 63.42 kB / 364.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004857/0.1252, allocations: 305.2 kB / 364.6 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.1253, allocations: 29 kB / 364.6 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.1254, allocations: 39.95 kB / 364.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.1264, allocations: 0.5279 MB / 365.2 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1265, allocations: 0 / 365.2 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.1265, allocations: 16 kB / 365.2 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1265, allocations: 8 kB / 365.2 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.1279, allocations: 0.566 MB / 365.7 MB, free: 6.312 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.1306, allocations: 1.69 MB / 367.4 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.1317, allocations: 476.1 kB / 367.9 MB, free: 4.004 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/0.1318, allocations: 8.328 kB / 367.9 MB, free: 3.996 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.1318, allocations: 46.88 kB / 368 MB, free: 3.941 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.453e-06/0.1318, allocations: 0 / 368 MB, free: 3.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.00475/0.1366, allocations: 1.53 MB / 369.5 MB, free: 2.363 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.1367, allocations: 162.2 kB / 369.6 MB, free: 2.168 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.137, allocations: 266.9 kB / 369.9 MB, free: 1.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.1371, allocations: 37.7 kB / 369.9 MB, free: 1.855 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.1372, allocations: 208.3 kB / 370.1 MB, free: 1.645 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.1373, allocations: 134 kB / 370.3 MB, free: 1.512 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.1374, allocations: 12 kB / 370.3 MB, free: 1.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1375, allocations: 342.8 kB / 370.6 MB, free: 1.156 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.138, allocations: 200.8 kB / 370.8 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/0.1387, allocations: 306.5 kB / 371.1 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005243/0.1392, allocations: 215.9 kB / 371.3 MB, free: 420 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1392, allocations: 3.938 kB / 371.3 MB, free: 416 kB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.2272/0.3665, allocations: 0.7661 MB / 372.1 MB, free: 19.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.3665, allocations: 6.219 kB / 372.1 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.3666, allocations: 2.156 kB / 372.1 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.368, allocations: 339.5 kB / 372.4 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.3684, allocations: 85.53 kB / 372.5 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.3696, allocations: 1.36 MB / 373.9 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.3701, allocations: 98.27 kB / 374 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.3702, allocations: 16.31 kB / 374 MB, free: 18.47 MB / 302.1 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 () * Number of clocked 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.0001937/0.3704, allocations: 156.2 kB / 374.1 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.3704, allocations: 38.64 kB / 374.2 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.373, allocations: 0.8193 MB / 375 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.3731, allocations: 4.5 kB / 375 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3731, allocations: 0.5 kB / 375 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.3731, allocations: 2.203 kB / 375 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008459/0.3739, allocations: 473.9 kB / 375.5 MB, free: 18.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.374, allocations: 0 / 375.5 MB, free: 18.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.3743, allocations: 69.02 kB / 375.5 MB, free: 18.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.3756, allocations: 340.3 kB / 375.9 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.3757, allocations: 9.453 kB / 375.9 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.3768, allocations: 1.381 MB / 377.3 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3768, allocations: 4.062 kB / 377.3 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/0.3795, allocations: 1.126 MB / 378.4 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.3796, allocations: 111 kB / 378.5 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.3797, allocations: 7.875 kB / 378.5 MB, free: 16.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/0.3801, allocations: 63.53 kB / 378.6 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/0.3802, allocations: 20.95 kB / 378.6 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.3802, allocations: 14.55 kB / 378.6 MB, free: 16.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002382/0.3805, allocations: 188.4 kB / 378.8 MB, free: 16.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3805, allocations: 0 / 378.8 MB, free: 16.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004783/0.381, allocations: 113.5 kB / 378.9 MB, free: 16.48 MB / 302.1 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 () * Number of clocked 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.002946/0.3839, allocations: 1.68 MB / 380.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.3853, allocations: 0.509 MB / 381.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3853, allocations: 0 / 381.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006308/0.3859, allocations: 279.4 kB / 381.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.3863, allocations: 37.36 kB / 381.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005898/0.3922, allocations: 3.867 MB / 385.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.3926, allocations: 0.8078 MB / 386.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002127/0.3928, allocations: 31.16 kB / 386.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.393, allocations: 127.1 kB / 386.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of SimCode: time 1.062e-06/0.393, allocations: 0 / 386.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.4184, allocations: 8.353 MB / 394.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.4187, allocations: 225.3 kB / 394.8 MB, free: 8.773 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.479, allocations: 0 / 394.8 MB, free: 8.773 MB / 302.1 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