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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009438/0.0009438, allocations: 95.31 kB / 16.93 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 184.6 kB / 17.83 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 224 MB, free: 13.19 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004297, allocations: 12.22 kB / 280.8 MB, free: 3.664 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0866/0.08704, allocations: 47.58 MB / 328.4 MB, free: 4.016 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002825/0.08992, allocations: 2.495 MB / 330.9 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.09118, allocations: 0.805 MB / 331.7 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.09132, allocations: 8 kB / 331.7 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.318e-05/0.0914, allocations: 51.61 kB / 331.8 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.09163, allocations: 107.6 kB / 331.9 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.09192, allocations: 103.9 kB / 332 MB, free: 436 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.09231, allocations: 348.8 kB / 332.3 MB, free: 88 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.09255, allocations: 131.6 kB / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.09277, allocations: 175.5 kB / 332.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.09303, allocations: 219.1 kB / 332.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.09308, allocations: 28 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.63e-05/0.09318, allocations: 36 kB / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.09326, allocations: 83.72 kB / 333 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.616e-05/0.09334, allocations: 97.45 kB / 333.1 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.09372, allocations: 411.1 kB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.09373, allocations: 0 / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.09374, allocations: 0 / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.09375, allocations: 0 / 333.5 MB, free: 14.91 MB / 286.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.001432/0.09519, allocations: 0.7525 MB / 334.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.09523, allocations: 8.031 kB / 334.2 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.781e-05/0.09534, allocations: 86.44 kB / 334.3 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.204e-05/0.09543, allocations: 47.44 kB / 334.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.09577, allocations: 297.4 kB / 334.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.09582, allocations: 32.95 kB / 334.7 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.09588, allocations: 36 kB / 334.7 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.09693, allocations: 0.524 MB / 335.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.09696, allocations: 4 kB / 335.3 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.09701, allocations: 16 kB / 335.3 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.09702, allocations: 8 kB / 335.3 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.0984, allocations: 0.5582 MB / 335.8 MB, free: 12.43 MB / 286.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.002472/0.1009, allocations: 1.698 MB / 337.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.102, allocations: 459.7 kB / 338 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.1021, allocations: 20.3 kB / 338 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.1021, allocations: 42.81 kB / 338 MB, free: 10.06 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 1.894e-06/0.1021, allocations: 0 / 338 MB, free: 10.06 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.004999/0.1071, allocations: 1.545 MB / 339.6 MB, free: 8.465 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.737e-05/0.1072, allocations: 158.2 kB / 339.7 MB, free: 8.273 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.1075, allocations: 259 kB / 340 MB, free: 8.016 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.1076, allocations: 33.7 kB / 340 MB, free: 7.977 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.1077, allocations: 204.3 kB / 340.2 MB, free: 7.773 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.991e-05/0.1078, allocations: 138 kB / 340.4 MB, free: 7.637 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.1079, allocations: 8 kB / 340.4 MB, free: 7.629 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.108, allocations: 350.8 kB / 340.7 MB, free: 7.277 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005158/0.1085, allocations: 200.7 kB / 340.9 MB, free: 7.078 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/0.1091, allocations: 298.5 kB / 341.2 MB, free: 6.754 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005435/0.1097, allocations: 227.8 kB / 341.4 MB, free: 6.531 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1097, allocations: 0 / 341.4 MB, free: 6.531 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001937/0.1116, allocations: 0.764 MB / 342.2 MB, free: 5.754 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1117, allocations: 11.98 kB / 342.2 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1117, allocations: 0 / 342.2 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.113, allocations: 333.4 kB / 342.5 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.1134, allocations: 95.88 kB / 342.6 MB, free: 5.316 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.1147, allocations: 1.362 MB / 344 MB, free: 3.902 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/0.1151, allocations: 91.62 kB / 344.1 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.1152, allocations: 19.95 kB / 344.1 MB, free: 3.793 MB / 286.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.0001982/0.1154, allocations: 169.7 kB / 344.3 MB, free: 3.617 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.1155, allocations: 31.62 kB / 344.3 MB, free: 3.586 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.1176, allocations: 0.8098 MB / 345.1 MB, free: 2.762 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.1176, allocations: 7.953 kB / 345.1 MB, free: 2.754 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.1177, allocations: 4 kB / 345.1 MB, free: 2.75 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.1177, allocations: 3.984 kB / 345.1 MB, free: 2.746 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.1183, allocations: 457 kB / 345.6 MB, free: 2.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1183, allocations: 0 / 345.6 MB, free: 2.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.1186, allocations: 71.95 kB / 345.6 MB, free: 2.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.1198, allocations: 337.4 kB / 346 MB, free: 1.844 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.1199, allocations: 8 kB / 346 MB, free: 1.836 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.1211, allocations: 1.386 MB / 347.4 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1211, allocations: 0 / 347.4 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/0.1237, allocations: 1.125 MB / 348.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.47e-05/0.1238, allocations: 116.5 kB / 348.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/0.1239, allocations: 12 kB / 348.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.1243, allocations: 56.02 kB / 348.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.1244, allocations: 31.91 kB / 348.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.1244, allocations: 12 kB / 348.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002306/0.1246, allocations: 186 kB / 348.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1246, allocations: 0 / 348.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004212/0.1251, allocations: 107.8 kB / 349 MB, free: 14.72 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.002952/0.128, allocations: 1.689 MB / 350.7 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.1294, allocations: 0.5074 MB / 351.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1294, allocations: 0 / 351.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006382/0.13, allocations: 280.4 kB / 351.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.1304, allocations: 40.48 kB / 351.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006096/0.1365, allocations: 3.849 MB / 355.3 MB, free: 8.234 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.1369, allocations: 0.7998 MB / 356.1 MB, free: 7.406 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.1371, allocations: 34.97 kB / 356.2 MB, free: 7.375 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.1373, allocations: 115.4 kB / 356.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of SimCode: time 1.292e-06/0.1373, allocations: 0 / 356.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.1591, allocations: 8.303 MB / 364.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.1593, allocations: 212.8 kB / 364.8 MB, free: 14.72 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.065, allocations: 0 / 364.8 MB, free: 14.72 MB / 318.1 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) Environment - environmentSimulation: 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