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.001591/0.001591, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.483/1.483, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.001317/0.001317, allocations: 51.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2609, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004534/0.2655, allocations: 3.109 MB / 328.4 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.2671, allocations: 0.8233 MB / 329.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.2673, allocations: 5.344 kB / 329.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.2675, allocations: 65.27 kB / 329.3 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.2677, allocations: 111 kB / 329.4 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.2682, allocations: 144.7 kB / 329.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005426/0.2687, allocations: 0.536 MB / 330.1 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.269, allocations: 168.7 kB / 330.3 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.2693, allocations: 218.8 kB / 330.5 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.2696, allocations: 253.1 kB / 330.7 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.319e-05/0.2697, allocations: 51.88 kB / 330.8 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.2698, allocations: 53.94 kB / 330.8 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.2699, allocations: 111.3 kB / 330.9 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.2701, allocations: 243.5 kB / 331.2 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005191/0.2706, allocations: 0.5378 MB / 331.7 MB, free: 13 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2707, allocations: 0 / 331.7 MB, free: 13 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2707, allocations: 1.062 kB / 331.7 MB, free: 13 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.2707, allocations: 0 / 331.7 MB, free: 13 MB / 270.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.001572/0.2723, allocations: 0.7916 MB / 332.5 MB, free: 12.36 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2723, allocations: 9.406 kB / 332.5 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.872e-05/0.2724, allocations: 49 kB / 332.6 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.2728, allocations: 300.2 kB / 332.8 MB, free: 12.03 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.2729, allocations: 33.28 kB / 332.9 MB, free: 12.01 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/0.2729, allocations: 35.97 kB / 332.9 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.274, allocations: 0.5029 MB / 333.4 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.2741, allocations: 3.984 kB / 333.4 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.2741, allocations: 16 kB / 333.4 MB, free: 11.65 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.2741, allocations: 12 kB / 333.4 MB, free: 11.64 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.2754, allocations: 0.4918 MB / 333.9 MB, free: 11.14 MB / 270.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.002624/0.2781, allocations: 1.674 MB / 335.6 MB, free: 9.328 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.2791, allocations: 427.6 kB / 336 MB, free: 8.902 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/0.2796, allocations: 241.4 kB / 336.3 MB, free: 8.664 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.2797, allocations: 12.3 kB / 336.3 MB, free: 8.652 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2797, allocations: 38.89 kB / 336.3 MB, free: 8.605 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.2797, allocations: 3.938 kB / 336.3 MB, free: 8.602 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.004872/0.2846, allocations: 1.372 MB / 337.7 MB, free: 7.18 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.2847, allocations: 162.2 kB / 337.8 MB, free: 6.984 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.285, allocations: 267 kB / 338.1 MB, free: 6.715 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.2851, allocations: 29.7 kB / 338.1 MB, free: 6.68 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.2852, allocations: 208.3 kB / 338.3 MB, free: 6.473 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2853, allocations: 138 kB / 338.5 MB, free: 6.336 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.2854, allocations: 78.12 kB / 338.6 MB, free: 6.25 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2856, allocations: 338.8 kB / 338.9 MB, free: 5.91 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/0.286, allocations: 188.7 kB / 339.1 MB, free: 5.727 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005494/0.2866, allocations: 274.5 kB / 339.3 MB, free: 5.426 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009536/0.2876, allocations: 426.5 kB / 339.8 MB, free: 4.984 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2876, allocations: 0 / 339.8 MB, free: 4.984 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001761/0.2893, allocations: 0.6819 MB / 340.4 MB, free: 4.289 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.2894, allocations: 8.625 kB / 340.4 MB, free: 4.281 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2894, allocations: 0 / 340.4 MB, free: 4.281 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.2907, allocations: 325.4 kB / 340.8 MB, free: 3.957 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.291, allocations: 79.88 kB / 340.8 MB, free: 3.879 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.2923, allocations: 1.347 MB / 342.2 MB, free: 2.48 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/0.2927, allocations: 75.69 kB / 342.3 MB, free: 2.406 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.2928, allocations: 16.19 kB / 342.3 MB, free: 2.391 MB / 270.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.0001896/0.293, allocations: 161.7 kB / 342.4 MB, free: 2.223 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.293, allocations: 35.56 kB / 342.5 MB, free: 2.188 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.2951, allocations: 0.7315 MB / 343.2 MB, free: 1.441 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.2952, allocations: 8 kB / 343.2 MB, free: 1.434 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2952, allocations: 0 / 343.2 MB, free: 1.434 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.2952, allocations: 3.984 kB / 343.2 MB, free: 1.43 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.2957, allocations: 461 kB / 343.7 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.2957, allocations: 0 / 343.7 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.296, allocations: 59.89 kB / 343.7 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.2972, allocations: 321.4 kB / 344 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.2972, allocations: 8 kB / 344 MB, free: 0.543 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.2983, allocations: 1.362 MB / 345.4 MB, free: 15.13 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2983, allocations: 0 / 345.4 MB, free: 15.13 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.3008, allocations: 1.019 MB / 346.4 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.91e-05/0.3009, allocations: 116.6 kB / 346.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/0.3009, allocations: 8 kB / 346.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.3013, allocations: 39.95 kB / 346.6 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.3014, allocations: 36.05 kB / 346.6 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.3014, allocations: 12 kB / 346.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002097/0.3016, allocations: 189.9 kB / 346.8 MB, free: 13.67 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3016, allocations: 0 / 346.8 MB, free: 13.67 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003892/0.302, allocations: 103.8 kB / 346.9 MB, free: 13.57 MB / 286.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.0001613/0.3022, allocations: 123.1 kB / 347 MB, free: 13.44 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.3035, allocations: 491.8 kB / 347.5 MB, free: 12.96 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3035, allocations: 0 / 347.5 MB, free: 12.96 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005914/0.3041, allocations: 247.8 kB / 347.8 MB, free: 12.72 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.3045, allocations: 48.67 kB / 347.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.3061, allocations: 0.8708 MB / 348.7 MB, free: 11.77 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.3064, allocations: 0.8034 MB / 349.5 MB, free: 10.95 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.3066, allocations: 22.98 kB / 349.5 MB, free: 10.92 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.284e-05/0.3067, allocations: 27.44 kB / 349.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3067, allocations: 0 / 349.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of Templates: time 0.009461/0.3161, allocations: 5.874 MB / 355.4 MB, free: 5.016 MB / 286.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)