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.001669/0.001669, allocations: 115.8 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002061/0.002061, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.4 MB / 246.4 MB, free: 9.043 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 62.55 kB / 306.6 MB, free: 0.6445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1216, allocations: 50.52 MB / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.007291/0.129, allocations: 3.194 MB / 360.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1311, allocations: 0.8508 MB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005775/0.1317, allocations: 4 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.1322, allocations: 47.62 kB / 361.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006403/0.1328, allocations: 99.16 kB / 361.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006535/0.1335, allocations: 131.9 kB / 361.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007896/0.1343, allocations: 0.5424 MB / 361.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.1347, allocations: 168.3 kB / 362.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005129/0.1352, allocations: 231.2 kB / 362.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.1357, allocations: 255 kB / 362.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.1358, allocations: 52 kB / 362.6 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.136, allocations: 64 kB / 362.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.1362, allocations: 111.7 kB / 362.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003617/0.1366, allocations: 242.9 kB / 363 MB, free: 8.109 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000707/0.1373, allocations: 0.5492 MB / 363.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1373, allocations: 0 / 363.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1373, allocations: 0 / 363.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.1373, allocations: 0 / 363.6 MB, free: 7.559 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.001914/0.1393, allocations: 0.807 MB / 364.4 MB, free: 6.703 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/0.1393, allocations: 8.031 kB / 364.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.1394, allocations: 74.66 kB / 364.5 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/0.1397, allocations: 68.34 kB / 364.5 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.1401, allocations: 303.4 kB / 364.8 MB, free: 6.215 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.445e-05/0.1402, allocations: 29.38 kB / 364.9 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.446e-05/0.1403, allocations: 40.36 kB / 364.9 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.1414, allocations: 0.5007 MB / 365.4 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.1414, allocations: 4 kB / 365.4 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/0.1415, allocations: 16 kB / 365.4 MB, free: 5.605 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.1415, allocations: 12 kB / 365.4 MB, free: 5.594 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.1429, allocations: 0.4996 MB / 365.9 MB, free: 5.09 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.002876/0.1458, allocations: 1.663 MB / 367.6 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.1469, allocations: 441.8 kB / 368 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.1475, allocations: 238.3 kB / 368.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.887e-05/0.1475, allocations: 12.3 kB / 368.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.1476, allocations: 46.89 kB / 368.3 MB, free: 2.551 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 3.266e-06/0.1476, allocations: 0 / 368.3 MB, free: 2.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.00527/0.1529, allocations: 1.365 MB / 369.7 MB, free: 1.137 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.153, allocations: 158.2 kB / 369.8 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.1535, allocations: 267 kB / 370.1 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/0.1536, allocations: 37.7 kB / 370.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.1538, allocations: 208.3 kB / 370.3 MB, free: 432 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.1539, allocations: 141.9 kB / 370.5 MB, free: 288 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.1541, allocations: 78.12 kB / 370.6 MB, free: 204 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.249/0.4031, allocations: 339.4 kB / 370.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009935/0.4041, allocations: 181.1 kB / 371.1 MB, free: 20.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009639/0.4051, allocations: 282.1 kB / 371.3 MB, free: 20 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.4069, allocations: 425.7 kB / 371.8 MB, free: 19.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.407, allocations: 0.8125 kB / 371.8 MB, free: 19.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003171/0.4101, allocations: 0.6855 MB / 372.4 MB, free: 19.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.4102, allocations: 6.312 kB / 372.5 MB, free: 19.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.4102, allocations: 1.812 kB / 372.5 MB, free: 19.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002501/0.4127, allocations: 318.5 kB / 372.8 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005968/0.4133, allocations: 76.98 kB / 372.8 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.4156, allocations: 1.347 MB / 374.2 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009131/0.4165, allocations: 82.84 kB / 374.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.96e-05/0.4166, allocations: 13.02 kB / 374.3 MB, free: 18.8 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003661/0.417, allocations: 165.4 kB / 374.4 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.4172, allocations: 45.2 kB / 374.5 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003993/0.4212, allocations: 0.7273 MB / 375.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.4213, allocations: 4.219 kB / 375.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.4213, allocations: 1.688 kB / 375.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.4213, allocations: 4.828 kB / 375.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.4224, allocations: 460.1 kB / 375.7 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.4224, allocations: 0 / 375.7 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.423, allocations: 56.5 kB / 375.7 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002215/0.4252, allocations: 322.3 kB / 376 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/0.4253, allocations: 17.47 kB / 376.1 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.427, allocations: 1.36 MB / 377.4 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4271, allocations: 0 / 377.4 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003924/0.431, allocations: 1.017 MB / 378.4 MB, free: 16.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.4312, allocations: 121 kB / 378.6 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.4314, allocations: 6.344 kB / 378.6 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005687/0.4319, allocations: 50.72 kB / 378.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.4321, allocations: 24.17 kB / 378.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.4322, allocations: 13.16 kB / 378.6 MB, free: 16.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004054/0.4326, allocations: 196.6 kB / 378.8 MB, free: 16.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4326, allocations: 0 / 378.8 MB, free: 16.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006553/0.4332, allocations: 111.2 kB / 378.9 MB, free: 16.12 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00336/0.4366, allocations: 1.571 MB / 380.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.4382, allocations: 490.2 kB / 381 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.4382, allocations: 3.781 kB / 381 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008026/0.439, allocations: 254.8 kB / 381.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.4396, allocations: 50.11 kB / 381.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008915/0.4486, allocations: 4.257 MB / 385.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.449, allocations: 0.7953 MB / 386.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002233/0.4492, allocations: 33.95 kB / 386.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.4494, allocations: 122.7 kB / 386.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of SimCode: time 1.372e-06/0.4494, allocations: 0 / 386.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.4836, allocations: 9.034 MB / 395.5 MB, free: 8.027 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/0.484, allocations: 241.6 kB / 395.8 MB, free: 7.777 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/2.854, allocations: 0 / 395.8 MB, free: 7.777 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/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