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.001107/0.001107, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.001197/0.001197, allocations: 181.7 kB / 17.19 MB, free: 6.34 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.544/1.544, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0005107/0.000511, allocations: 12 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 47.58 MB / 327.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.0031/0.1113, allocations: 2.491 MB / 330.2 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.113, allocations: 0.8049 MB / 331 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003572/0.1134, allocations: 8 kB / 331 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.1136, allocations: 43.69 kB / 331 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004151/0.114, allocations: 115.6 kB / 331.2 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.1146, allocations: 103.8 kB / 331.3 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00063/0.1152, allocations: 344.9 kB / 331.6 MB, free: 180 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/0.1155, allocations: 131.6 kB / 331.7 MB, free: 36 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004846/0.116, allocations: 183.5 kB / 331.9 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004123/0.1165, allocations: 219.2 kB / 332.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.271e-05/0.1166, allocations: 28 kB / 332.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1167, allocations: 28 kB / 332.2 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1168, allocations: 87.66 kB / 332.3 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.117, allocations: 101.5 kB / 332.4 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.1174, allocations: 395.1 kB / 332.7 MB, free: 15 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.1174, allocations: 0 / 332.7 MB, free: 15 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.1174, allocations: 0 / 332.7 MB, free: 15 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.1174, allocations: 7.828 kB / 332.7 MB, free: 15 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.001747/0.1192, allocations: 0.7602 MB / 333.5 MB, free: 14.19 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1192, allocations: 12.03 kB / 333.5 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.1194, allocations: 47.44 kB / 333.6 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.1199, allocations: 297.3 kB / 333.9 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.1199, allocations: 32.95 kB / 333.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.718e-05/0.12, allocations: 36 kB / 333.9 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.1212, allocations: 0.5201 MB / 334.4 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.1212, allocations: 0 / 334.4 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/0.1212, allocations: 16 kB / 334.5 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.1213, allocations: 19.98 kB / 334.5 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.1227, allocations: 0.5621 MB / 335 MB, free: 12.59 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.00299/0.1257, allocations: 1.698 MB / 336.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.1268, allocations: 459.7 kB / 337.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.1269, allocations: 16.3 kB / 337.2 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.1271, allocations: 34.89 kB / 337.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 1.934e-06/0.1271, allocations: 4 kB / 337.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.004905/0.132, allocations: 1.537 MB / 338.8 MB, free: 8.645 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.1321, allocations: 158.2 kB / 338.9 MB, free: 8.453 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.1325, allocations: 263 kB / 339.2 MB, free: 8.191 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.1325, allocations: 37.7 kB / 339.2 MB, free: 8.148 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.1327, allocations: 208.3 kB / 339.4 MB, free: 7.941 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.1328, allocations: 134 kB / 339.6 MB, free: 7.809 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.1329, allocations: 8 kB / 339.6 MB, free: 7.801 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.133, allocations: 342.8 kB / 339.9 MB, free: 7.457 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005358/0.1336, allocations: 204.8 kB / 340.1 MB, free: 7.254 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006041/0.1342, allocations: 306.4 kB / 340.4 MB, free: 6.922 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.1348, allocations: 219.9 kB / 340.6 MB, free: 6.707 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1348, allocations: 0 / 340.6 MB, free: 6.707 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00193/0.1367, allocations: 0.7601 MB / 341.4 MB, free: 5.934 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.1367, allocations: 16.05 kB / 341.4 MB, free: 5.918 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1368, allocations: 0 / 341.4 MB, free: 5.918 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.1381, allocations: 341.3 kB / 341.7 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.1384, allocations: 87.81 kB / 341.8 MB, free: 5.492 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.1398, allocations: 1.366 MB / 343.2 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/0.1403, allocations: 95.59 kB / 343.3 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.1404, allocations: 12 kB / 343.3 MB, free: 3.969 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.0002403/0.1406, allocations: 169.7 kB / 343.4 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.1407, allocations: 35.62 kB / 343.5 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.1429, allocations: 0.8137 MB / 344.3 MB, free: 2.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-06/0.1429, allocations: 7.984 kB / 344.3 MB, free: 2.922 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1429, allocations: 3.953 kB / 344.3 MB, free: 2.918 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1429, allocations: 3.984 kB / 344.3 MB, free: 2.914 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.1435, allocations: 461 kB / 344.8 MB, free: 2.414 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1435, allocations: 0 / 344.8 MB, free: 2.414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.1438, allocations: 71.89 kB / 344.8 MB, free: 2.344 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.145, allocations: 333.4 kB / 345.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.145, allocations: 8 kB / 345.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.1462, allocations: 1.382 MB / 346.5 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1462, allocations: 0 / 346.5 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/0.1488, allocations: 1.125 MB / 347.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.1489, allocations: 116.6 kB / 347.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.149, allocations: 8 kB / 347.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.1493, allocations: 63.92 kB / 347.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.1494, allocations: 27.91 kB / 347.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.1495, allocations: 12 kB / 347.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.1497, allocations: 186 kB / 348.1 MB, free: 15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1497, allocations: 0 / 348.1 MB, free: 15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004191/0.1501, allocations: 103.8 kB / 348.2 MB, free: 14.89 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.0001816/0.1503, allocations: 123.5 kB / 348.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.1516, allocations: 0.5071 MB / 348.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1516, allocations: 0 / 348.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.1522, allocations: 272.1 kB / 349.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.1526, allocations: 48.61 kB / 349.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.1542, allocations: 1.06 MB / 350.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.1546, allocations: 0.8037 MB / 351 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000142/0.1547, allocations: 34.97 kB / 351 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.1548, allocations: 27.42 kB / 351 MB, free: 11.97 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1548, allocations: 0 / 351 MB, free: 11.97 MB / 302.1 MB Notification: Performance of Templates: time 0.008935/0.1637, allocations: 5.199 MB / 356.2 MB, free: 6.77 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: