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.001956/0.001955, allocations: 115 kB / 16.63 MB, free: 6.812 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.001537/0.001537, allocations: 186 kB / 17.55 MB, free: 5.934 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.542/1.542, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001149/0.001149, allocations: 52.14 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09763/0.09879, allocations: 46.62 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004716/0.1035, allocations: 3.138 MB / 329.3 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1051, allocations: 0.8162 MB / 330.1 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.1054, allocations: 7.938 kB / 330.1 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.1056, allocations: 39.69 kB / 330.1 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1058, allocations: 103.2 kB / 330.2 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.1063, allocations: 115.9 kB / 330.3 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00051/0.1068, allocations: 0.5347 MB / 330.9 MB, free: 12 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.1071, allocations: 168.4 kB / 331 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.1074, allocations: 219.3 kB / 331.3 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.1077, allocations: 251 kB / 331.5 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.097e-05/0.1078, allocations: 56 kB / 331.6 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1079, allocations: 56 kB / 331.6 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.832e-05/0.108, allocations: 111.6 kB / 331.7 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.1083, allocations: 242.8 kB / 332 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005029/0.1088, allocations: 0.5375 MB / 332.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1088, allocations: 0 / 332.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1088, allocations: 0 / 332.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.1088, allocations: 0 / 332.5 MB, free: 14.38 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.001605/0.1104, allocations: 0.7954 MB / 333.3 MB, free: 13.53 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1105, allocations: 8.031 kB / 333.3 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.1106, allocations: 48.38 kB / 333.3 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.111, allocations: 306.5 kB / 333.6 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.111, allocations: 25.38 kB / 333.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.618e-05/0.1111, allocations: 40.31 kB / 333.7 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.1122, allocations: 0.5126 MB / 334.2 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.1122, allocations: 4 kB / 334.2 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.1123, allocations: 16 kB / 334.2 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.1123, allocations: 8 kB / 334.2 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.1135, allocations: 0.4957 MB / 334.7 MB, free: 12.02 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.002538/0.1161, allocations: 1.67 MB / 336.4 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.1171, allocations: 435.4 kB / 336.8 MB, free: 9.773 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.1177, allocations: 245.4 kB / 337.1 MB, free: 9.531 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.252e-05/0.1177, allocations: 12.3 kB / 337.1 MB, free: 9.52 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.1178, allocations: 42.89 kB / 337.1 MB, free: 9.469 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 3.898e-06/0.1178, allocations: 0 / 337.1 MB, free: 9.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.004761/0.1226, allocations: 1.364 MB / 338.5 MB, free: 8.055 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.66e-05/0.1227, allocations: 158.2 kB / 338.7 MB, free: 7.863 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.123, allocations: 267 kB / 338.9 MB, free: 7.598 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.1231, allocations: 37.7 kB / 338.9 MB, free: 7.555 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.1232, allocations: 204.3 kB / 339.1 MB, free: 7.352 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.1234, allocations: 138 kB / 339.3 MB, free: 7.215 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.1235, allocations: 74.12 kB / 339.4 MB, free: 7.137 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1236, allocations: 342.8 kB / 339.7 MB, free: 6.793 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.1241, allocations: 184.7 kB / 339.9 MB, free: 6.609 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.1246, allocations: 278.5 kB / 340.1 MB, free: 6.305 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008991/0.1255, allocations: 426.5 kB / 340.6 MB, free: 5.863 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1255, allocations: 0 / 340.6 MB, free: 5.863 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001666/0.1272, allocations: 0.6819 MB / 341.2 MB, free: 5.168 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.1272, allocations: 8 kB / 341.2 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1273, allocations: 0 / 341.2 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.1285, allocations: 321.4 kB / 341.6 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.1289, allocations: 79.88 kB / 341.6 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.1301, allocations: 1.35 MB / 343 MB, free: 3.359 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.1306, allocations: 79.56 kB / 343.1 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.1306, allocations: 24 kB / 343.1 MB, free: 3.258 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.0001949/0.1308, allocations: 153.8 kB / 343.2 MB, free: 3.098 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.1309, allocations: 35.61 kB / 343.3 MB, free: 3.062 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.1329, allocations: 0.7238 MB / 344 MB, free: 2.324 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.1329, allocations: 4 kB / 344 MB, free: 2.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1329, allocations: 4 kB / 344 MB, free: 2.316 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.1329, allocations: 3.984 kB / 344 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/0.1334, allocations: 461 kB / 344.5 MB, free: 1.812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1335, allocations: 0 / 344.5 MB, free: 1.812 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.1337, allocations: 63.89 kB / 344.5 MB, free: 1.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/0.1349, allocations: 321.3 kB / 344.8 MB, free: 1.43 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.1349, allocations: 12 kB / 344.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.1361, allocations: 1.358 MB / 346.2 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1361, allocations: 0 / 346.2 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.1385, allocations: 1.019 MB / 347.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.1386, allocations: 116.6 kB / 347.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.1386, allocations: 16 kB / 347.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.139, allocations: 39.95 kB / 347.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.1391, allocations: 27.95 kB / 347.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.1391, allocations: 12 kB / 347.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.1393, allocations: 194 kB / 347.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1393, allocations: 0 / 347.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004033/0.1398, allocations: 107.8 kB / 347.7 MB, free: 14.44 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.0001768/0.1399, allocations: 119.1 kB / 347.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.1412, allocations: 480 kB / 348.3 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1412, allocations: 448 / 348.3 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.1418, allocations: 259.6 kB / 348.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.1422, allocations: 48.61 kB / 348.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.1438, allocations: 1.025 MB / 349.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.1441, allocations: 0.7917 MB / 350.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.1442, allocations: 34.97 kB / 350.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.1443, allocations: 23.42 kB / 350.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1443, allocations: 4 kB / 350.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Templates: time 0.009537/0.1539, allocations: 5.77 MB / 356.3 MB, free: 5.84 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)