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.0009449/0.0009449, allocations: 156.2 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.233/1.233, allocations: 170.7 MB / 178.7 MB, free: 6.977 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.001932/0.001932, allocations: 98.39 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.369e-05/1.37e-05, allocations: 4 kB / 262.2 MB, free: 3.07 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2145, allocations: 38.77 MB / 301 MB, free: 39.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08507/0.2996, allocations: 70.37 MB / 371.3 MB, free: 9.277 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.2999, allocations: 74.06 kB / 371.4 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01717/0.317, allocations: 6.414 MB / 377.8 MB, free: 2.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3171, allocations: 2.969 kB / 377.8 MB, free: 2.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.326e-05/0.3171, allocations: 8 kB / 377.8 MB, free: 2.832 MB / 282.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.001391/0.3185, allocations: 0.7095 MB / 378.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3185, allocations: 12.02 kB / 378.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.3187, allocations: 49.81 kB / 378.6 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.3191, allocations: 297.3 kB / 378.9 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.3191, allocations: 12 kB / 378.9 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.3192, allocations: 28 kB / 378.9 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000594/0.3198, allocations: 333.5 kB / 379.3 MB, free: 1.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006068/0.3204, allocations: 367.9 kB / 379.6 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3204, allocations: 0 / 379.6 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.3205, allocations: 0 / 379.6 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.3205, allocations: 11.98 kB / 379.6 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.323, allocations: 1.339 MB / 381 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/0.3238, allocations: 353.5 kB / 381.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.3241, allocations: 173.9 kB / 381.5 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.595e-05/0.3241, allocations: 20.3 kB / 381.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.3242, allocations: 42.84 kB / 381.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.423e-06/0.3242, allocations: 0 / 381.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001274/0.3255, allocations: 481 kB / 382 MB, free: 14.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.805e-05/0.3256, allocations: 162.2 kB / 382.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.3258, allocations: 214.2 kB / 382.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.3258, allocations: 25.7 kB / 382.4 MB, free: 14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.326, allocations: 208.3 kB / 382.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.3261, allocations: 138 kB / 382.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.3261, allocations: 0 / 382.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3262, allocations: 342.8 kB / 383.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.3264, allocations: 112.9 kB / 383.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.3267, allocations: 218 kB / 383.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.327, allocations: 127.9 kB / 383.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.327, allocations: 4 kB / 383.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001525/0.3285, allocations: 0.6207 MB / 384.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3286, allocations: 9.25 kB / 384.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3286, allocations: 0 / 384.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007967/0.3294, allocations: 253.5 kB / 384.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.3297, allocations: 91.81 kB / 384.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.3308, allocations: 1.341 MB / 385.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.3313, allocations: 83.69 kB / 385.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.3313, allocations: 12 kB / 385.9 MB, free: 10.36 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 () * 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.0001255/0.3315, allocations: 116.9 kB / 386.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.3315, allocations: 39.66 kB / 386.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.333, allocations: 0.5917 MB / 386.7 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.3331, allocations: 4 kB / 386.7 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3331, allocations: 3.984 kB / 386.7 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3331, allocations: 4 kB / 386.7 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.3336, allocations: 404.7 kB / 387.1 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.3336, allocations: 0 / 387.1 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.3339, allocations: 71.94 kB / 387.2 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007449/0.3347, allocations: 253.5 kB / 387.4 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.3347, allocations: 8 kB / 387.4 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.3357, allocations: 1.348 MB / 388.8 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.3358, allocations: 0 / 388.8 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.3375, allocations: 0.836 MB / 389.6 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.3376, allocations: 136.6 kB / 389.7 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.136e-05/0.3377, allocations: 7.938 kB / 389.7 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.3381, allocations: 56.02 kB / 389.8 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.3382, allocations: 23.95 kB / 389.8 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.3382, allocations: 10.19 kB / 389.8 MB, free: 6.324 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.3383, allocations: 174 kB / 390 MB, free: 6.156 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3383, allocations: 0 / 390 MB, free: 6.156 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003853/0.3387, allocations: 104.9 kB / 390.1 MB, free: 6.055 MB / 298.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 () * 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.0001845/0.3389, allocations: 107.2 kB / 390.2 MB, free: 5.941 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006386/0.3396, allocations: 344.5 kB / 390.5 MB, free: 5.605 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3396, allocations: 0 / 390.5 MB, free: 5.605 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.3399, allocations: 195.4 kB / 390.7 MB, free: 5.418 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.3402, allocations: 33.42 kB / 390.8 MB, free: 5.391 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.3413, allocations: 0.5714 MB / 391.3 MB, free: 4.793 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.3417, allocations: 0.7995 MB / 392.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.3418, allocations: 39.27 kB / 392.2 MB, free: 3.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.3419, allocations: 19.44 kB / 392.2 MB, free: 3.91 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3419, allocations: 3.938 kB / 392.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of Templates: time 0.009069/0.351, allocations: 4.893 MB / 397.1 MB, free: 15.08 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)