Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.006214/0.006214, allocations: 97.92 kB / 15.73 MB, free: 6.012 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.001276/0.001276, allocations: 187.3 kB / 16.67 MB, free: 5.93 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.493/1.493, allocations: 205.1 MB / 222.6 MB, free: 4.477 MB / 174.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.001149/0.001149, allocations: 50.64 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1162, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005737/0.122, allocations: 3.077 MB / 376.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.1243, allocations: 0.8392 MB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.1245, allocations: 7.938 kB / 377.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1248, allocations: 63.36 kB / 377.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.1251, allocations: 111 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.1257, allocations: 143.8 kB / 377.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006469/0.1263, allocations: 0.5346 MB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.1267, allocations: 164.3 kB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/0.1271, allocations: 219.3 kB / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/0.1275, allocations: 251 kB / 378.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.1277, allocations: 52 kB / 378.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.1278, allocations: 60 kB / 378.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.128, allocations: 111.6 kB / 378.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.1283, allocations: 242.9 kB / 379 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007701/0.1291, allocations: 0.5486 MB / 379.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1291, allocations: 0 / 379.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1291, allocations: 0 / 379.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1291, allocations: 0 / 379.6 MB, free: 10.87 MB / 318.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.002089/0.1312, allocations: 0.8027 MB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.1313, allocations: 11.97 kB / 380.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.1314, allocations: 52.66 kB / 380.4 MB, free: 9.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005584/0.132, allocations: 302.7 kB / 380.7 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.1321, allocations: 33.31 kB / 380.8 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.715e-05/0.1322, allocations: 36.38 kB / 380.8 MB, free: 9.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.1337, allocations: 0.5009 MB / 381.3 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.1337, allocations: 4 kB / 381.3 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-05/0.1338, allocations: 16 kB / 381.3 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.1338, allocations: 12 kB / 381.3 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.1356, allocations: 0.4996 MB / 381.8 MB, free: 8.5 MB / 318.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.002992/0.1386, allocations: 1.671 MB / 383.5 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.1402, allocations: 432.7 kB / 383.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006773/0.1409, allocations: 237.4 kB / 384.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.205e-05/0.1409, allocations: 8.312 kB / 384.2 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.141, allocations: 38.89 kB / 384.2 MB, free: 5.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.795e-06/0.141, allocations: 4 kB / 384.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.006789/0.1478, allocations: 1.369 MB / 385.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.148, allocations: 158.2 kB / 385.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/0.1486, allocations: 263 kB / 386 MB, free: 4.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.503e-05/0.1487, allocations: 33.7 kB / 386 MB, free: 4.031 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.1489, allocations: 216.7 kB / 386.2 MB, free: 3.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.1491, allocations: 142.8 kB / 386.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.1494, allocations: 78.12 kB / 386.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002684/0.1496, allocations: 346.7 kB / 386.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000783/0.1504, allocations: 184.8 kB / 387 MB, free: 3.066 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008873/0.1513, allocations: 278.5 kB / 387.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.1528, allocations: 418.6 kB / 387.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1529, allocations: 4 kB / 387.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002862/0.1557, allocations: 0.682 MB / 388.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.1558, allocations: 12.06 kB / 388.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1558, allocations: 0 / 388.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/0.1578, allocations: 321.4 kB / 388.7 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.1583, allocations: 79.81 kB / 388.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.1603, allocations: 1.347 MB / 390.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006797/0.161, allocations: 79.83 kB / 390.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.1611, allocations: 12 kB / 390.2 MB, free: 15.73 MB / 334.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.0003392/0.1615, allocations: 157.8 kB / 390.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.431e-05/0.1616, allocations: 39.75 kB / 390.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/0.1647, allocations: 0.7314 MB / 391.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.1648, allocations: 4 kB / 391.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1648, allocations: 0 / 391.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.1648, allocations: 3.984 kB / 391.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008598/0.1657, allocations: 465 kB / 391.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1657, allocations: 0 / 391.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.1661, allocations: 63.89 kB / 391.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001577/0.1677, allocations: 321.4 kB / 391.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.1677, allocations: 8 kB / 391.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.1695, allocations: 1.362 MB / 393.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1695, allocations: 0 / 393.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/0.173, allocations: 1.016 MB / 394.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.1731, allocations: 112.9 kB / 394.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.1732, allocations: 12 kB / 394.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/0.1737, allocations: 39.95 kB / 394.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.1738, allocations: 27.95 kB / 394.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/0.1739, allocations: 12 kB / 394.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003395/0.1742, allocations: 190 kB / 394.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1742, allocations: 0 / 394.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006941/0.1749, allocations: 115.8 kB / 394.8 MB, free: 10.91 MB / 334.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.0002499/0.1752, allocations: 123.1 kB / 394.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.1771, allocations: 479.5 kB / 395.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1771, allocations: 448 / 395.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007402/0.1778, allocations: 247.8 kB / 395.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006748/0.1785, allocations: 64.44 kB / 395.7 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.181, allocations: 0.8719 MB / 396.6 MB, free: 9.098 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006457/0.1817, allocations: 0.7956 MB / 397.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.1819, allocations: 38.91 kB / 397.4 MB, free: 8.242 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.1819, allocations: 19.44 kB / 397.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1819, allocations: 0 / 397.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of Templates: time 0.01045/0.1924, allocations: 5.962 MB / 403.4 MB, free: 2.25 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1)