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.001457/0.001457, allocations: 198.6 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.233/1.233, allocations: 227.2 MB / 245 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008662/0.0008662, allocations: 108.5 kB / 297.3 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002523/0.0002523, allocations: 11.98 kB / 358 MB, free: 9.188 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1891, allocations: 51.49 MB / 409.5 MB, free: 26.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0879/0.277, allocations: 82.61 MB / 492.1 MB, free: 7.938 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.2773, allocations: 75.95 kB / 492.2 MB, free: 7.863 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0171/0.2944, allocations: 6.698 MB / 498.9 MB, free: 1.141 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2944, allocations: 4 kB / 498.9 MB, free: 1.137 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.2944, allocations: 8 kB / 498.9 MB, free: 1.129 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001246/0.2957, allocations: 0.7329 MB / 499.6 MB, free: 356 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2957, allocations: 12.03 kB / 499.6 MB, free: 344 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.969e-05/0.2958, allocations: 70.53 kB / 499.7 MB, free: 264 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.296, allocations: 59.42 kB / 499.8 MB, free: 204 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.2965, allocations: 338.2 kB / 0.4884 GB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.2965, allocations: 25 kB / 0.4884 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.924e-05/0.2966, allocations: 36 kB / 0.4884 GB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.2976, allocations: 0.5279 MB / 0.4889 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2976, allocations: 0 / 0.4889 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.2976, allocations: 16 kB / 0.489 GB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2977, allocations: 8 kB / 0.489 GB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.2989, allocations: 0.5621 MB / 0.4895 GB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.3012, allocations: 1.569 MB / 0.4911 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.3023, allocations: 471.6 kB / 0.4915 GB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.3023, allocations: 16.28 kB / 0.4915 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.3023, allocations: 30.89 kB / 0.4915 GB, free: 12.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.595e-06/0.3023, allocations: 7.875 kB / 0.4916 GB, free: 12.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.004423/0.3068, allocations: 1.44 MB / 0.493 GB, free: 10.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.3069, allocations: 166.2 kB / 0.4931 GB, free: 10.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.3071, allocations: 238.1 kB / 0.4933 GB, free: 10.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.3072, allocations: 37.7 kB / 0.4934 GB, free: 10.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3073, allocations: 208.4 kB / 0.4936 GB, free: 10.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.917e-05/0.3074, allocations: 138 kB / 0.4937 GB, free: 10.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/0.3074, allocations: 8 kB / 0.4937 GB, free: 10.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3075, allocations: 347.7 kB / 0.4941 GB, free: 9.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/0.308, allocations: 196.8 kB / 0.4942 GB, free: 9.547 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/0.3085, allocations: 306.5 kB / 0.4945 GB, free: 9.215 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/0.3091, allocations: 223 kB / 0.4947 GB, free: 9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3091, allocations: 0 / 0.4947 GB, free: 9 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00211/0.3112, allocations: 0.838 MB / 0.4956 GB, free: 8.148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3112, allocations: 4 kB / 0.4956 GB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3112, allocations: 4 kB / 0.4956 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.3125, allocations: 325.5 kB / 0.4959 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.3128, allocations: 99.83 kB / 0.496 GB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.3141, allocations: 1.362 MB / 0.4973 GB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.3146, allocations: 95.62 kB / 0.4974 GB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.3146, allocations: 20.17 kB / 0.4974 GB, free: 6.191 MB / 378.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 () * 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.0002211/0.3148, allocations: 157.7 kB / 0.4976 GB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.3149, allocations: 43.5 kB / 0.4976 GB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.317, allocations: 0.7939 MB / 0.4984 GB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.317, allocations: 7.938 kB / 0.4984 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.317, allocations: 0 / 0.4984 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.317, allocations: 3.984 kB / 0.4984 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005774/0.3176, allocations: 457.1 kB / 0.4988 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3176, allocations: 0 / 0.4988 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.318, allocations: 71.89 kB / 0.4989 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.3191, allocations: 338.5 kB / 0.4992 GB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.3192, allocations: 12 kB / 0.4992 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.3203, allocations: 1.38 MB / 0.5006 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3203, allocations: 0 / 0.5006 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.3227, allocations: 1.101 MB / 0.5017 GB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.3228, allocations: 108.7 kB / 0.5018 GB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.3228, allocations: 11.98 kB / 0.5018 GB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.3232, allocations: 71.91 kB / 0.5018 GB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.3233, allocations: 19.97 kB / 0.5019 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.3233, allocations: 11.98 kB / 0.5019 GB, free: 1.457 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002077/0.3235, allocations: 194 kB / 0.5021 GB, free: 1.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3235, allocations: 0 / 0.5021 GB, free: 1.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003933/0.3239, allocations: 111.8 kB / 0.5022 GB, free: 1.156 MB / 378.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 () * 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.1473/0.4712, allocations: 1.661 MB / 0.5038 GB, free: 95.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.4726, allocations: 0.5126 MB / 0.5043 GB, free: 95.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.4726, allocations: 0.8438 kB / 0.5043 GB, free: 95.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006222/0.4732, allocations: 275.8 kB / 0.5045 GB, free: 95.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.4735, allocations: 37.09 kB / 0.5046 GB, free: 95.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/0.4783, allocations: 3.791 MB / 0.5083 GB, free: 94.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.4785, allocations: 0.8089 MB / 0.5091 GB, free: 93.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001625/0.4787, allocations: 30.05 kB / 0.5091 GB, free: 93.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.4789, allocations: 120 kB / 0.5092 GB, free: 93.42 MB / 378.7 MB Notification: Performance of SimCode: time 9.61e-07/0.4789, allocations: 0 / 0.5092 GB, free: 93.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.4972, allocations: 8.37 MB / 0.5174 GB, free: 91.87 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001207/0.4974, allocations: 212.7 kB / 0.5176 GB, free: 91.62 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.4, allocations: 0 / 0.5176 GB, free: 91.62 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