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.001323/0.001331, allocations: 95.78 kB / 16.95 MB, free: 6.449 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.001479/0.001479, allocations: 182.8 kB / 17.84 MB, free: 6.008 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.56/1.56, allocations: 205.4 MB / 224 MB, free: 13.14 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.0004658/0.000466, allocations: 12 kB / 280.9 MB, free: 3.629 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09786, allocations: 47.59 MB / 328.5 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003418/0.1013, allocations: 2.626 MB / 331.1 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.1032, allocations: 0.7931 MB / 331.9 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003637/0.1036, allocations: 4 kB / 331.9 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.1039, allocations: 39.69 kB / 331.9 MB, free: 496 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.1042, allocations: 95.16 kB / 332 MB, free: 400 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.1046, allocations: 107.9 kB / 332.1 MB, free: 292 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006649/0.1053, allocations: 491.6 kB / 332.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.1056, allocations: 135.5 kB / 332.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.106, allocations: 175.4 kB / 332.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003944/0.1064, allocations: 223.1 kB / 333.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.133e-05/0.1065, allocations: 28 kB / 333.1 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.1067, allocations: 36 kB / 333.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.531e-05/0.1068, allocations: 87.66 kB / 333.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.1069, allocations: 93.52 kB / 333.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.1074, allocations: 407.1 kB / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1074, allocations: 0 / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1074, allocations: 0 / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.039e-05/0.1074, allocations: 0 / 333.8 MB, free: 14.62 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.001672/0.1091, allocations: 0.7525 MB / 334.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1092, allocations: 8.031 kB / 334.5 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.1093, allocations: 82.45 kB / 334.6 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.1094, allocations: 47.44 kB / 334.6 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.1099, allocations: 297.4 kB / 334.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.1099, allocations: 32.95 kB / 335 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/0.11, allocations: 36 kB / 335 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.1112, allocations: 0.5279 MB / 335.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.1112, allocations: 4 kB / 335.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.1112, allocations: 12 kB / 335.5 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.1113, allocations: 8 kB / 335.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.1126, allocations: 0.5621 MB / 336.1 MB, free: 12.14 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.002785/0.1154, allocations: 1.706 MB / 337.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.1165, allocations: 463.6 kB / 338.3 MB, free: 9.832 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005098/0.117, allocations: 257.8 kB / 338.5 MB, free: 9.578 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.582e-05/0.1171, allocations: 16.3 kB / 338.5 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.1171, allocations: 42.89 kB / 338.6 MB, free: 9.512 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 2.795e-06/0.1172, allocations: 3.938 kB / 338.6 MB, free: 9.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.004645/0.1218, allocations: 1.544 MB / 340.1 MB, free: 7.914 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.769e-05/0.1219, allocations: 158.2 kB / 340.3 MB, free: 7.723 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.1223, allocations: 259 kB / 340.5 MB, free: 7.465 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.1223, allocations: 37.7 kB / 340.6 MB, free: 7.422 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.1225, allocations: 212.3 kB / 340.8 MB, free: 7.211 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.1226, allocations: 134 kB / 340.9 MB, free: 7.078 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.1226, allocations: 8 kB / 340.9 MB, free: 7.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1228, allocations: 342.8 kB / 341.3 MB, free: 6.727 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.1233, allocations: 208.7 kB / 341.5 MB, free: 6.52 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/0.1239, allocations: 302.5 kB / 341.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005286/0.1244, allocations: 223.9 kB / 342 MB, free: 5.973 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1244, allocations: 3.938 kB / 342 MB, free: 5.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001915/0.1263, allocations: 0.7563 MB / 342.7 MB, free: 5.199 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1264, allocations: 7.984 kB / 342.7 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1264, allocations: 7.953 kB / 342.8 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.1277, allocations: 337.5 kB / 343.1 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.128, allocations: 83.88 kB / 343.2 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.1293, allocations: 1.366 MB / 344.5 MB, free: 3.348 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004524/0.1298, allocations: 99.55 kB / 344.6 MB, free: 3.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.1298, allocations: 12.19 kB / 344.6 MB, free: 3.238 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.0002433/0.1301, allocations: 165.7 kB / 344.8 MB, free: 3.066 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.784e-05/0.1302, allocations: 35.56 kB / 344.8 MB, free: 3.031 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.1323, allocations: 0.8097 MB / 345.6 MB, free: 2.207 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.1323, allocations: 7.953 kB / 345.7 MB, free: 2.199 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.1323, allocations: 4 kB / 345.7 MB, free: 2.195 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.1323, allocations: 7.922 kB / 345.7 MB, free: 2.188 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006032/0.133, allocations: 461.1 kB / 346.1 MB, free: 1.688 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.133, allocations: 0 / 346.1 MB, free: 1.688 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/0.1333, allocations: 59.95 kB / 346.2 MB, free: 1.629 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.1345, allocations: 345.4 kB / 346.5 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.1345, allocations: 8 kB / 346.5 MB, free: 1.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.1358, allocations: 1.374 MB / 347.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1359, allocations: 0 / 347.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.1384, allocations: 1.125 MB / 349 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.1385, allocations: 120.5 kB / 349.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.1386, allocations: 8 kB / 349.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.139, allocations: 56.02 kB / 349.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.1391, allocations: 35.84 kB / 349.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.1391, allocations: 20.05 kB / 349.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.1394, allocations: 189.9 kB / 349.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1394, allocations: 0 / 349.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004381/0.1398, allocations: 107.8 kB / 349.5 MB, free: 14.16 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.002968/0.1428, allocations: 1.689 MB / 351.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.1441, allocations: 0.5074 MB / 351.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1442, allocations: 0 / 351.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006163/0.1448, allocations: 276.2 kB / 352 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.1453, allocations: 52.48 kB / 352.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005664/0.151, allocations: 2.79 MB / 354.9 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.1514, allocations: 0.7959 MB / 355.6 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.1515, allocations: 30.97 kB / 355.7 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.1517, allocations: 119.4 kB / 355.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1517, allocations: 0 / 355.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.1788, allocations: 8.32 MB / 364.1 MB, free: 15.44 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.1791, allocations: 225.9 kB / 364.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/2.188, allocations: 0 / 364.3 MB, free: 15.2 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