Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.01292/0.01292, allocations: 99.5 kB / 15.73 MB, free: 5.996 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.002405/0.002406, allocations: 199.5 kB / 16.68 MB, free: 5.918 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.583/1.583, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.00122/0.00122, allocations: 46.44 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1117, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005283/0.1171, allocations: 3.089 MB / 376.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.1189, allocations: 0.8314 MB / 377.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.1191, allocations: 7.938 kB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.1193, allocations: 63.38 kB / 377.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.1196, allocations: 114.9 kB / 377.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.12, allocations: 139.7 kB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.1206, allocations: 0.5308 MB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.1209, allocations: 168.3 kB / 378.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.1212, allocations: 219.3 kB / 378.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.1215, allocations: 255 kB / 378.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.067e-05/0.1216, allocations: 52 kB / 378.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1217, allocations: 59.98 kB / 378.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.1218, allocations: 103.7 kB / 378.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.1221, allocations: 238.9 kB / 379 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007004/0.1228, allocations: 0.549 MB / 379.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1228, allocations: 7.875 kB / 379.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1228, allocations: 0 / 379.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.1228, allocations: 0 / 379.6 MB, free: 10.88 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.001678/0.1245, allocations: 0.7915 MB / 380.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1245, allocations: 12.03 kB / 380.4 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.147e-05/0.1246, allocations: 44.47 kB / 380.4 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.1251, allocations: 314.4 kB / 380.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.1252, allocations: 29.38 kB / 380.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.1252, allocations: 36.38 kB / 380.8 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.1264, allocations: 0.5048 MB / 381.3 MB, free: 9.047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.1264, allocations: 0 / 381.3 MB, free: 9.047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.1264, allocations: 16 kB / 381.3 MB, free: 9.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.056e-05/0.1265, allocations: 8 kB / 381.3 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.1278, allocations: 0.4996 MB / 381.8 MB, free: 8.527 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.002909/0.1308, allocations: 1.666 MB / 383.5 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.132, allocations: 427.6 kB / 383.9 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005416/0.1325, allocations: 237.4 kB / 384.1 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.1326, allocations: 12.33 kB / 384.1 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.1326, allocations: 38.88 kB / 384.2 MB, free: 5.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.804e-06/0.1326, allocations: 0 / 384.2 MB, free: 5.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.004808/0.1374, allocations: 1.361 MB / 385.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.712e-05/0.1376, allocations: 166.2 kB / 385.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.1379, allocations: 266.9 kB / 386 MB, free: 4.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.1379, allocations: 33.7 kB / 386 MB, free: 4.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.1381, allocations: 208.4 kB / 386.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.1382, allocations: 138 kB / 386.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.1384, allocations: 81.97 kB / 386.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1385, allocations: 338.8 kB / 386.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/0.139, allocations: 188.7 kB / 386.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005625/0.1396, allocations: 278.5 kB / 387.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.1406, allocations: 426.5 kB / 387.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1407, allocations: 4 kB / 387.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001853/0.1425, allocations: 0.6819 MB / 388.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1425, allocations: 4 kB / 388.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.1426, allocations: 4 kB / 388.3 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.1439, allocations: 321.4 kB / 388.6 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.1442, allocations: 75.88 kB / 388.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.1455, allocations: 1.35 MB / 390.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.1459, allocations: 75.52 kB / 390.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.146, allocations: 16 kB / 390.1 MB, free: 15.77 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.0001994/0.1462, allocations: 157.8 kB / 390.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.1463, allocations: 35.62 kB / 390.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.1484, allocations: 0.7274 MB / 391.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1484, allocations: 4 kB / 391.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1484, allocations: 0 / 391.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1484, allocations: 0 / 391.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005775/0.149, allocations: 476.9 kB / 391.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.149, allocations: 0 / 391.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.1493, allocations: 63.94 kB / 391.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.1505, allocations: 325.4 kB / 391.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.1505, allocations: 4 kB / 391.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.1517, allocations: 1.37 MB / 393.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1517, allocations: 128 / 393.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.1542, allocations: 1.012 MB / 394.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.1543, allocations: 104.7 kB / 394.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.1544, allocations: 12 kB / 394.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.1548, allocations: 44 kB / 394.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/0.1548, allocations: 23.97 kB / 394.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.1549, allocations: 15.98 kB / 394.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002245/0.1551, allocations: 186 kB / 394.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1551, allocations: 0 / 394.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004203/0.1555, allocations: 115.7 kB / 394.8 MB, free: 10.95 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.0002076/0.1558, allocations: 119.4 kB / 394.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.1571, allocations: 475.6 kB / 395.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1571, allocations: 3.938 kB / 395.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006015/0.1577, allocations: 255.7 kB / 395.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.1581, allocations: 52.77 kB / 395.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.1598, allocations: 0.8493 MB / 396.5 MB, free: 9.172 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1602, allocations: 0.7995 MB / 397.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000129/0.1604, allocations: 34.95 kB / 397.4 MB, free: 8.316 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.1604, allocations: 19.44 kB / 397.4 MB, free: 8.297 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1604, allocations: 0 / 397.4 MB, free: 8.297 MB / 334.1 MB Notification: Performance of Templates: time 0.01083/0.1713, allocations: 6.193 MB / 403.6 MB, free: 2.094 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1)