Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 100.3 kB / 16.5 MB, free: 6.699 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.001179/0.001179, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.395/1.395, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001167/0.001167, allocations: 55.92 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.0949, allocations: 46.62 MB / 325.9 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004198/0.09914, allocations: 3.15 MB / 329.1 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1006, allocations: 0.8123 MB / 329.9 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.1008, allocations: 11.94 kB / 329.9 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.101, allocations: 43.67 kB / 330 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.1012, allocations: 95.17 kB / 330.1 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.1015, allocations: 123.9 kB / 330.2 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004221/0.102, allocations: 0.5112 MB / 330.7 MB, free: 128 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.1022, allocations: 140.8 kB / 330.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.1025, allocations: 199.2 kB / 331 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.1027, allocations: 243 kB / 331.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.206e-05/0.1028, allocations: 36 kB / 331.3 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.1029, allocations: 36 kB / 331.3 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.103, allocations: 91.66 kB / 331.4 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.1032, allocations: 222.8 kB / 331.6 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.1036, allocations: 0.5219 MB / 332.2 MB, free: 14.64 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1037, allocations: 4 kB / 332.2 MB, free: 14.64 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1037, allocations: 0 / 332.2 MB, free: 14.64 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1037, allocations: 0 / 332.2 MB, free: 14.64 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.001569/0.1052, allocations: 0.7954 MB / 333 MB, free: 13.79 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1053, allocations: 8.031 kB / 333 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.649e-05/0.1054, allocations: 52.38 kB / 333 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.1057, allocations: 306.5 kB / 333.3 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.1058, allocations: 25.38 kB / 333.3 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.1058, allocations: 40.31 kB / 333.4 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.1069, allocations: 0.5048 MB / 333.9 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1069, allocations: 0 / 333.9 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/0.107, allocations: 16 kB / 333.9 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.107, allocations: 8 kB / 333.9 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.1082, allocations: 0.4996 MB / 334.4 MB, free: 12.28 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.002526/0.1107, allocations: 1.67 MB / 336.1 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.1118, allocations: 431.5 kB / 336.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.1123, allocations: 241.4 kB / 336.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.1123, allocations: 4.328 kB / 336.7 MB, free: 9.797 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1124, allocations: 46.81 kB / 336.8 MB, free: 9.742 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 2.435e-06/0.1124, allocations: 0 / 336.8 MB, free: 9.742 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.004624/0.117, allocations: 1.365 MB / 338.2 MB, free: 8.328 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.312e-05/0.1171, allocations: 158.2 kB / 338.3 MB, free: 8.137 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.1175, allocations: 263 kB / 338.6 MB, free: 7.875 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/0.1175, allocations: 37.7 kB / 338.6 MB, free: 7.832 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.1176, allocations: 208.3 kB / 338.8 MB, free: 7.625 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.1178, allocations: 134 kB / 338.9 MB, free: 7.492 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.1179, allocations: 78.12 kB / 339 MB, free: 7.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.118, allocations: 342.8 kB / 339.3 MB, free: 7.066 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.1185, allocations: 180.7 kB / 339.5 MB, free: 6.887 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.1191, allocations: 278.5 kB / 339.8 MB, free: 6.582 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009209/0.12, allocations: 426.5 kB / 340.2 MB, free: 6.141 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.12, allocations: 0 / 340.2 MB, free: 6.141 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001824/0.1219, allocations: 0.6858 MB / 340.9 MB, free: 5.441 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.1219, allocations: 8 kB / 340.9 MB, free: 5.434 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1219, allocations: 0 / 340.9 MB, free: 5.434 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.1233, allocations: 325.4 kB / 341.2 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.1236, allocations: 75.88 kB / 341.3 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.1248, allocations: 1.346 MB / 342.6 MB, free: 3.637 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/0.1253, allocations: 87.7 kB / 342.7 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.1254, allocations: 16 kB / 342.7 MB, free: 3.535 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 (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.0002111/0.1256, allocations: 153.8 kB / 342.9 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.1257, allocations: 31.62 kB / 342.9 MB, free: 3.344 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.1277, allocations: 0.7354 MB / 343.7 MB, free: 2.594 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1277, allocations: 4 kB / 343.7 MB, free: 2.59 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1278, allocations: 0 / 343.7 MB, free: 2.59 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1278, allocations: 0 / 343.7 MB, free: 2.59 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.1283, allocations: 465 kB / 344.1 MB, free: 2.086 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1284, allocations: 0 / 344.1 MB, free: 2.086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.1287, allocations: 63.89 kB / 344.2 MB, free: 2.023 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/0.1299, allocations: 317.4 kB / 344.5 MB, free: 1.707 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.1299, allocations: 15.98 kB / 344.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.1311, allocations: 1.355 MB / 345.9 MB, free: 292 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1312, allocations: 0 / 345.9 MB, free: 292 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/0.1336, allocations: 1.027 MB / 346.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.1337, allocations: 112.6 kB / 347 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.1338, allocations: 8 kB / 347 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.1342, allocations: 43.94 kB / 347 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.1343, allocations: 23.97 kB / 347.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.1343, allocations: 11.94 kB / 347.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002364/0.1346, allocations: 198 kB / 347.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1346, allocations: 0 / 347.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000517/0.1351, allocations: 111.8 kB / 347.4 MB, free: 14.71 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.000177/0.1353, allocations: 115.1 kB / 347.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.1365, allocations: 479.8 kB / 348 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.1366, allocations: 4 kB / 348 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005971/0.1372, allocations: 252.2 kB / 348.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.1377, allocations: 55.67 kB / 348.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.1396, allocations: 1.016 MB / 349.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.14, allocations: 0.7959 MB / 350.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.1402, allocations: 34.95 kB / 350.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.1402, allocations: 27.44 kB / 350.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1403, allocations: 0 / 350.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Templates: time 0.01011/0.1504, allocations: 5.439 MB / 355.6 MB, free: 6.453 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1)