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.000946/0.0009458, allocations: 96.59 kB / 17 MB, free: 6.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 190.2 kB / 17.9 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002583, allocations: 4 kB / 306.8 MB, free: 1.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 51.5 MB / 358.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003528/0.1375, allocations: 2.693 MB / 361 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.1391, allocations: 0.8044 MB / 361.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.1394, allocations: 4 kB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.1395, allocations: 39.62 kB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.1397, allocations: 95.22 kB / 361.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.1401, allocations: 119.7 kB / 362.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004901/0.1406, allocations: 0.4917 MB / 362.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.1409, allocations: 135.6 kB / 362.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.1412, allocations: 187.4 kB / 362.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.1415, allocations: 219.1 kB / 363.1 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.1415, allocations: 32 kB / 363.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1416, allocations: 31.98 kB / 363.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.1417, allocations: 91.59 kB / 363.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.394e-05/0.1418, allocations: 97.52 kB / 363.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.1422, allocations: 411.1 kB / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1423, allocations: 0 / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1423, allocations: 0 / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1423, allocations: 0 / 363.7 MB, free: 8.531 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.001481/0.1438, allocations: 0.7603 MB / 364.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1438, allocations: 12.03 kB / 364.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.878e-05/0.1439, allocations: 74.53 kB / 364.6 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.1441, allocations: 59.42 kB / 364.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.1445, allocations: 301.3 kB / 364.9 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.1446, allocations: 33 kB / 365 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.546e-05/0.1447, allocations: 35.95 kB / 365 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.1458, allocations: 0.5318 MB / 365.5 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.1458, allocations: 0 / 365.5 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.1459, allocations: 16 kB / 365.5 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.1459, allocations: 11.98 kB / 365.5 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.1473, allocations: 0.5621 MB / 366.1 MB, free: 6.02 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.0027/0.15, allocations: 1.69 MB / 367.8 MB, free: 4.184 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.1511, allocations: 474.2 kB / 368.3 MB, free: 3.715 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005192/0.1517, allocations: 260.8 kB / 368.5 MB, free: 3.461 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.855e-05/0.1517, allocations: 16.31 kB / 368.5 MB, free: 3.445 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1518, allocations: 34.89 kB / 368.6 MB, free: 3.402 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.725e-06/0.1518, allocations: 4 kB / 368.6 MB, free: 3.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004778/0.1566, allocations: 1.537 MB / 370.1 MB, free: 1.812 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.1567, allocations: 158.2 kB / 370.3 MB, free: 1.621 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.1571, allocations: 274.8 kB / 370.5 MB, free: 1.344 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.1571, allocations: 37.7 kB / 370.6 MB, free: 1.301 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.1573, allocations: 212.4 kB / 370.8 MB, free: 1.086 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.1574, allocations: 134 kB / 370.9 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.1575, allocations: 4 kB / 370.9 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.1577, allocations: 346.8 kB / 371.2 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000519/0.1582, allocations: 200.8 kB / 371.4 MB, free: 416 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005477/0.1587, allocations: 302.5 kB / 371.7 MB, free: 72 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2286/0.3873, allocations: 214.4 kB / 371.9 MB, free: 19.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.3874, allocations: 5.875 kB / 372 MB, free: 19.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002228/0.3896, allocations: 0.7699 MB / 372.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.3897, allocations: 5.469 kB / 372.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3897, allocations: 2.062 kB / 372.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.3911, allocations: 334.6 kB / 373.1 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.3915, allocations: 89.3 kB / 373.1 MB, free: 19.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.3928, allocations: 1.367 MB / 374.5 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/0.3933, allocations: 95.91 kB / 374.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.3934, allocations: 15.89 kB / 374.6 MB, free: 18.55 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.0002357/0.3936, allocations: 163.5 kB / 374.8 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.3937, allocations: 42.02 kB / 374.8 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.3961, allocations: 0.8138 MB / 375.6 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.3962, allocations: 4.125 kB / 375.6 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.3962, allocations: 1.375 kB / 375.6 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.3962, allocations: 4.281 kB / 375.6 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006839/0.3969, allocations: 463.1 kB / 376.1 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3969, allocations: 1.984 kB / 376.1 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/0.3972, allocations: 74.08 kB / 376.2 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001219/0.3984, allocations: 338 kB / 376.5 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.3985, allocations: 9.281 kB / 376.5 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.3997, allocations: 1.377 MB / 377.9 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.3997, allocations: 1.281 kB / 377.9 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.4025, allocations: 1.124 MB / 379 MB, free: 16.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.651e-05/0.4027, allocations: 117.6 kB / 379.1 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.4027, allocations: 9.984 kB / 379.1 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.4031, allocations: 63.22 kB / 379.2 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.4032, allocations: 27.94 kB / 379.2 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.4033, allocations: 12.72 kB / 379.2 MB, free: 16.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002758/0.4036, allocations: 189.2 kB / 379.4 MB, free: 16.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4036, allocations: 0 / 379.4 MB, free: 16.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004838/0.4041, allocations: 105.9 kB / 379.5 MB, free: 16.36 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.002791/0.4069, allocations: 1.685 MB / 381.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.4082, allocations: 0.5113 MB / 381.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.4083, allocations: 0 / 381.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006276/0.4089, allocations: 288.1 kB / 382 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.4094, allocations: 50.58 kB / 382.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005433/0.4149, allocations: 2.804 MB / 384.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.4152, allocations: 0.7987 MB / 385.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.4154, allocations: 30.86 kB / 385.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.4156, allocations: 119.5 kB / 385.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4156, allocations: 0 / 385.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.4384, allocations: 8.38 MB / 394.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/0.4387, allocations: 220.1 kB / 394.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.57, allocations: 0 / 394.4 MB, free: 9.629 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