Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",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.001275/0.001275, allocations: 177 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000857/0.0008569, allocations: 86.69 kB / 262.5 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.521e-05/1.513e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08398/0.08401, allocations: 47.58 MB / 363.2 MB, free: 6.988 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3086/0.3926, allocations: 79.89 MB / 443.1 MB, free: 15.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.3929, allocations: 73.52 kB / 443.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01707/0.41, allocations: 6.399 MB / 449.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.41, allocations: 0 / 449.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.41, allocations: 8.766 kB / 449.5 MB, free: 10.29 MB / 330.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.001333/0.4114, allocations: 0.7115 MB / 450.3 MB, free: 9.555 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4114, allocations: 12.03 kB / 450.3 MB, free: 9.543 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.294e-05/0.4115, allocations: 47.34 kB / 450.3 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.4119, allocations: 298.8 kB / 450.6 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.4119, allocations: 12 kB / 450.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.412, allocations: 22.08 kB / 450.6 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005362/0.4125, allocations: 336.5 kB / 451 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005806/0.4131, allocations: 363.4 kB / 451.3 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.4131, allocations: 4 kB / 451.3 MB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.4132, allocations: 4 kB / 451.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.4132, allocations: 8 kB / 451.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.4156, allocations: 1.501 MB / 452.8 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007361/0.4163, allocations: 351.9 kB / 453.2 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.4166, allocations: 176 kB / 453.3 MB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.4167, allocations: 11.62 kB / 453.4 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.4167, allocations: 41.47 kB / 453.4 MB, free: 6.949 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 4.037e-06/0.4167, allocations: 0 / 453.4 MB, free: 6.949 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.001249/0.418, allocations: 483.5 kB / 453.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.202e-05/0.4181, allocations: 165.7 kB / 454 MB, free: 6.379 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.4183, allocations: 210.7 kB / 454.2 MB, free: 6.199 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.4183, allocations: 25.7 kB / 454.3 MB, free: 6.168 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.4185, allocations: 205.5 kB / 454.5 MB, free: 6.004 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.477e-05/0.4186, allocations: 137.5 kB / 454.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.4186, allocations: 3.938 kB / 454.6 MB, free: 5.879 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4187, allocations: 346.3 kB / 454.9 MB, free: 5.547 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.4189, allocations: 113.1 kB / 455.1 MB, free: 5.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.4192, allocations: 213.3 kB / 455.3 MB, free: 5.297 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.4195, allocations: 133.6 kB / 455.4 MB, free: 5.211 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4195, allocations: 0 / 455.4 MB, free: 5.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001526/0.421, allocations: 0.6178 MB / 456 MB, free: 4.699 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.421, allocations: 12.03 kB / 456 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.4211, allocations: 0 / 456 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008569/0.4219, allocations: 255 kB / 456.3 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.4223, allocations: 79.94 kB / 456.3 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.4234, allocations: 1.334 MB / 457.7 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.4239, allocations: 87.69 kB / 457.8 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.4239, allocations: 15.25 kB / 457.8 MB, free: 3.043 MB / 330.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.0001338/0.424, allocations: 124.1 kB / 457.9 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00108/0.4251, allocations: 493.8 kB / 458.4 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.4252, allocations: 31.62 kB / 458.4 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.4267, allocations: 0.5934 MB / 459 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.4267, allocations: 8 kB / 459 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4267, allocations: 0 / 459 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.4267, allocations: 8.203 kB / 459 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.4272, allocations: 406.1 kB / 459.4 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4272, allocations: 3.938 kB / 459.4 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.4275, allocations: 63.95 kB / 459.5 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007449/0.4283, allocations: 256.3 kB / 459.7 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.4283, allocations: 11.8 kB / 459.8 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009983/0.4293, allocations: 1.347 MB / 461.1 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/0.4294, allocations: 8.125 kB / 461.1 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.431, allocations: 0.832 MB / 461.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.4311, allocations: 112.7 kB / 462 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.4312, allocations: 3.953 kB / 462.1 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.4316, allocations: 52.02 kB / 462.1 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.4317, allocations: 27.83 kB / 462.1 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.4317, allocations: 10.62 kB / 462.1 MB, free: 15.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.4318, allocations: 163.4 kB / 462.3 MB, free: 15.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4318, allocations: 0 / 462.3 MB, free: 15.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000415/0.4322, allocations: 103.7 kB / 462.4 MB, free: 15 MB / 346.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.001935/0.4342, allocations: 1.385 MB / 463.8 MB, free: 13.78 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006579/0.4349, allocations: 346.7 kB / 464.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4349, allocations: 0 / 464.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.4352, allocations: 194.2 kB / 464.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.4355, allocations: 31.48 kB / 464.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.437, allocations: 0.6382 MB / 465 MB, free: 12.78 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.4374, allocations: 0.8112 MB / 465.8 MB, free: 11.94 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.4376, allocations: 31.28 kB / 465.8 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.4377, allocations: 116.8 kB / 465.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of SimCode: time 4.5e-07/0.4377, allocations: 0 / 465.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.466, allocations: 7.581 MB / 473.5 MB, free: 4.293 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.4663, allocations: 139.8 kB / 473.7 MB, free: 4.105 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.594, allocations: 0 / 473.7 MB, free: 4.105 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat does not exist to compare? outputFormat=mat