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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.008002/0.008002, allocations: 167.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.454/1.454, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001628/0.001628, allocations: 99.45 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003402, allocations: 12 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.218, allocations: 38.76 MB / 312.9 MB, free: 38.83 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08772/0.3058, allocations: 71.13 MB / 384 MB, free: 3.391 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.306, allocations: 71.95 kB / 384.1 MB, free: 3.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01796/0.324, allocations: 6.49 MB / 390.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.324, allocations: 0 / 390.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.3241, allocations: 8 kB / 390.6 MB, free: 12.8 MB / 298.7 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.001361/0.3254, allocations: 0.7445 MB / 391.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3255, allocations: 12.03 kB / 391.3 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.22e-05/0.3256, allocations: 43.53 kB / 391.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.326, allocations: 305.3 kB / 391.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.326, allocations: 29 kB / 391.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.3261, allocations: 36 kB / 391.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.3272, allocations: 0.524 MB / 392.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3272, allocations: 0 / 392.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.888e-05/0.3273, allocations: 19.98 kB / 392.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.3273, allocations: 8.219 kB / 392.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.3287, allocations: 0.5621 MB / 392.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.3312, allocations: 1.415 MB / 394.3 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.3326, allocations: 469.8 kB / 394.7 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.3327, allocations: 8.312 kB / 394.7 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.3327, allocations: 46.83 kB / 394.8 MB, free: 8.391 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.234e-06/0.3327, allocations: 0 / 394.8 MB, free: 8.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.004805/0.3375, allocations: 1.441 MB / 396.2 MB, free: 6.902 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.3376, allocations: 158.2 kB / 396.4 MB, free: 6.711 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.338, allocations: 234.2 kB / 396.6 MB, free: 6.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.338, allocations: 37.7 kB / 396.6 MB, free: 6.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.3382, allocations: 215.9 kB / 396.9 MB, free: 6.219 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.3383, allocations: 138 kB / 397 MB, free: 6.082 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.3384, allocations: 8 kB / 397 MB, free: 6.074 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3385, allocations: 342.8 kB / 397.3 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/0.339, allocations: 204.7 kB / 397.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006095/0.3397, allocations: 302.5 kB / 397.8 MB, free: 5.203 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/0.3402, allocations: 219.9 kB / 398 MB, free: 4.988 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3402, allocations: 3.938 kB / 398 MB, free: 4.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002447/0.3427, allocations: 0.8264 MB / 398.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.3427, allocations: 4 kB / 398.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.3428, allocations: 4 kB / 398.9 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.3444, allocations: 329.5 kB / 399.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.3448, allocations: 91.88 kB / 399.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.3461, allocations: 1.366 MB / 400.7 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005746/0.3467, allocations: 95.62 kB / 400.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.3468, allocations: 19.94 kB / 400.8 MB, free: 2.188 MB / 298.7 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.0002798/0.3471, allocations: 163.7 kB / 400.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3472, allocations: 43.59 kB / 401 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.3494, allocations: 0.7901 MB / 401.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.3494, allocations: 4 kB / 401.8 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3494, allocations: 0 / 401.8 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3495, allocations: 4 kB / 401.8 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006612/0.3501, allocations: 469 kB / 402.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3501, allocations: 0 / 402.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.3505, allocations: 67.89 kB / 402.3 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.3517, allocations: 344.8 kB / 402.6 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.3518, allocations: 8 kB / 402.6 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/0.3532, allocations: 1.375 MB / 404 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3532, allocations: 128 / 404 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/0.3558, allocations: 1.105 MB / 405.1 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/0.3561, allocations: 148.5 kB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.3562, allocations: 8 kB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.3566, allocations: 64 kB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.3566, allocations: 23.91 kB / 405.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.3567, allocations: 12 kB / 405.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002608/0.3569, allocations: 193.9 kB / 405.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.357, allocations: 0 / 405.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004753/0.3574, allocations: 115.7 kB / 405.7 MB, free: 13.12 MB / 314.7 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.0002065/0.3577, allocations: 115.9 kB / 405.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.359, allocations: 0.5188 MB / 406.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.359, allocations: 0 / 406.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000627/0.3596, allocations: 275.8 kB / 406.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.36, allocations: 36.55 kB / 406.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.3618, allocations: 1.058 MB / 407.7 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.3623, allocations: 0.8037 MB / 408.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001713/0.3624, allocations: 30.97 kB / 408.5 MB, free: 10.22 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.3625, allocations: 23.44 kB / 408.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3625, allocations: 0 / 408.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of Templates: time 0.009621/0.3721, allocations: 5.248 MB / 413.8 MB, free: 4.977 MB / 314.7 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)