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.0008964/0.0008962, allocations: 89.33 kB / 16.65 MB, free: 6.535 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.0009917/0.0009919, allocations: 176.5 kB / 17.56 MB, free: 6.18 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.743/1.743, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0006998/0.0006997, allocations: 12 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1167, allocations: 47.59 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.00346/0.1202, allocations: 2.76 MB / 331.1 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.1218, allocations: 0.8084 MB / 331.9 MB, free: 156 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.122, allocations: 4 kB / 331.9 MB, free: 152 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.1222, allocations: 47.61 kB / 331.9 MB, free: 104 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.1224, allocations: 91.19 kB / 332 MB, free: 12 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.1228, allocations: 123.9 kB / 332.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005298/0.1233, allocations: 0.5073 MB / 332.7 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.1236, allocations: 140.8 kB / 332.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.1239, allocations: 195.2 kB / 333 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.1242, allocations: 219 kB / 333.2 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.577e-05/0.1242, allocations: 28 kB / 333.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.711e-05/0.1243, allocations: 35.98 kB / 333.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.402e-05/0.1244, allocations: 79.67 kB / 333.3 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.1247, allocations: 240.5 kB / 333.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.1251, allocations: 0.5101 MB / 334.1 MB, free: 13.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1251, allocations: 0 / 334.1 MB, free: 13.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1251, allocations: 4 kB / 334.1 MB, free: 13.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1252, allocations: 0 / 334.1 MB, free: 13.93 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.001487/0.1266, allocations: 0.7487 MB / 334.8 MB, free: 13.13 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1267, allocations: 12.03 kB / 334.8 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.175e-05/0.1268, allocations: 48.38 kB / 334.9 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.1272, allocations: 302.5 kB / 335.2 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.1273, allocations: 29.38 kB / 335.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.1275, allocations: 40.38 kB / 335.3 MB, free: 12.67 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.1286, allocations: 0.536 MB / 335.8 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.1286, allocations: 0 / 335.8 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.84e-05/0.1287, allocations: 19.94 kB / 335.8 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.1287, allocations: 8 kB / 335.8 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.1301, allocations: 0.566 MB / 336.4 MB, free: 11.52 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.002758/0.1329, allocations: 1.694 MB / 338.1 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.1341, allocations: 467.6 kB / 338.5 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/0.1346, allocations: 269.4 kB / 338.8 MB, free: 8.949 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.1347, allocations: 12.31 kB / 338.8 MB, free: 8.938 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1347, allocations: 38.89 kB / 338.9 MB, free: 8.891 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 2.305e-06/0.1347, allocations: 3.938 kB / 338.9 MB, free: 8.887 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.005228/0.14, allocations: 1.556 MB / 340.4 MB, free: 7.281 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.1401, allocations: 158.2 kB / 340.6 MB, free: 7.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.1404, allocations: 263 kB / 340.8 MB, free: 6.828 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.1405, allocations: 37.7 kB / 340.9 MB, free: 6.785 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.1406, allocations: 212.3 kB / 341.1 MB, free: 6.574 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1407, allocations: 134 kB / 341.2 MB, free: 6.441 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.1408, allocations: 41.7 kB / 341.2 MB, free: 6.395 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1409, allocations: 338.8 kB / 341.6 MB, free: 6.055 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.1415, allocations: 204.7 kB / 341.8 MB, free: 5.852 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/0.1421, allocations: 306.5 kB / 342.1 MB, free: 5.52 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.1431, allocations: 470.5 kB / 342.5 MB, free: 5.035 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1431, allocations: 0 / 342.5 MB, free: 5.035 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001912/0.1451, allocations: 0.7483 MB / 343.3 MB, free: 4.273 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.1451, allocations: 4 kB / 343.3 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.1451, allocations: 4 kB / 343.3 MB, free: 4.266 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.1464, allocations: 333.5 kB / 343.6 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.1468, allocations: 87.88 kB / 343.7 MB, free: 3.848 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.1481, allocations: 1.37 MB / 345.1 MB, free: 2.426 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.1486, allocations: 99.62 kB / 345.2 MB, free: 2.328 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.1487, allocations: 19.98 kB / 345.2 MB, free: 2.309 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.0002377/0.1489, allocations: 157.8 kB / 345.3 MB, free: 2.145 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.149, allocations: 31.62 kB / 345.4 MB, free: 2.113 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.1513, allocations: 0.8175 MB / 346.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.1513, allocations: 4 kB / 346.2 MB, free: 1.277 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1513, allocations: 0 / 346.2 MB, free: 1.277 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.1513, allocations: 3.984 kB / 346.2 MB, free: 1.273 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005924/0.1519, allocations: 465 kB / 346.6 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1519, allocations: 0 / 346.6 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.1522, allocations: 67.89 kB / 346.7 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.1534, allocations: 341.4 kB / 347 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.1535, allocations: 8 kB / 347.1 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.1548, allocations: 1.378 MB / 348.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1548, allocations: 32 / 348.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.1575, allocations: 1.128 MB / 349.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.1576, allocations: 116.6 kB / 349.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.1577, allocations: 12 kB / 349.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.1581, allocations: 67.91 kB / 349.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.1582, allocations: 19.97 kB / 349.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.1582, allocations: 15.94 kB / 349.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002668/0.1585, allocations: 197.9 kB / 350 MB, free: 13.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1585, allocations: 0 / 350 MB, free: 13.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004724/0.159, allocations: 103.8 kB / 350.1 MB, free: 13.23 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.0002456/0.1593, allocations: 115.1 kB / 350.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.1607, allocations: 0.5195 MB / 350.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1607, allocations: 0 / 350.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006354/0.1613, allocations: 272.1 kB / 351 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.1618, allocations: 52.59 kB / 351 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.1636, allocations: 1.115 MB / 352.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1639, allocations: 0.792 MB / 352.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.1641, allocations: 34.95 kB / 353 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.1641, allocations: 19.44 kB / 353 MB, free: 10.26 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1641, allocations: 8 kB / 353 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Templates: time 0.00999/0.1741, allocations: 5.387 MB / 358.4 MB, free: 4.867 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)