Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001117/0.001117, allocations: 97.91 kB / 15.05 MB, free: 1.105 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.001067/0.001068, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0004895/0.00049, allocations: 8 kB / 278.9 MB, free: 12.87 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2958, allocations: 47.59 MB / 326.4 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003859/0.2998, allocations: 2.495 MB / 328.9 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.3018, allocations: 0.8026 MB / 329.7 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003883/0.3023, allocations: 5.969 kB / 329.7 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.3025, allocations: 44.28 kB / 329.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.3028, allocations: 114.1 kB / 329.9 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.3033, allocations: 104.3 kB / 330 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000436/0.3037, allocations: 350.9 kB / 330.3 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.304, allocations: 127.1 kB / 330.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.3043, allocations: 181.2 kB / 330.6 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.3046, allocations: 216.3 kB / 330.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.264e-05/0.3047, allocations: 27.56 kB / 330.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.3048, allocations: 28.31 kB / 330.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.421e-05/0.3049, allocations: 92.7 kB / 331 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.305, allocations: 99.02 kB / 331.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.3054, allocations: 400.2 kB / 331.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3054, allocations: 0 / 331.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3054, allocations: 0 / 331.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.3054, allocations: 0 / 331.5 MB, free: 13.59 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.0016/0.307, allocations: 0.7595 MB / 332.3 MB, free: 12.99 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3071, allocations: 10.12 kB / 332.3 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.3072, allocations: 47.38 kB / 332.3 MB, free: 12.97 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.3076, allocations: 299.5 kB / 332.6 MB, free: 12.67 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.3077, allocations: 27.64 kB / 332.6 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-05/0.3078, allocations: 36.06 kB / 332.7 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.3089, allocations: 0.5257 MB / 333.2 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.309, allocations: 0 / 333.2 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.309, allocations: 20.36 kB / 333.2 MB, free: 12.31 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.309, allocations: 12.66 kB / 333.2 MB, free: 12.31 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.3105, allocations: 0.557 MB / 333.8 MB, free: 12.05 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.002816/0.3134, allocations: 1.71 MB / 335.5 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.3148, allocations: 455.7 kB / 335.9 MB, free: 9.746 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.004e-05/0.3148, allocations: 16.3 kB / 335.9 MB, free: 9.73 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/0.3149, allocations: 42.83 kB / 336 MB, free: 9.68 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 1.754e-06/0.3149, allocations: 0 / 336 MB, free: 9.68 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.005082/0.32, allocations: 1.534 MB / 337.5 MB, free: 8.098 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.3201, allocations: 166.2 kB / 337.7 MB, free: 7.898 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/0.3205, allocations: 266.9 kB / 337.9 MB, free: 7.633 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.3205, allocations: 33.7 kB / 338 MB, free: 7.594 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.3207, allocations: 204.4 kB / 338.2 MB, free: 7.391 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.3208, allocations: 141.9 kB / 338.3 MB, free: 7.25 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.3209, allocations: 4 kB / 338.3 MB, free: 7.246 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.321, allocations: 346.8 kB / 338.7 MB, free: 6.898 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005255/0.3215, allocations: 204.8 kB / 338.9 MB, free: 6.695 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.3222, allocations: 294.5 kB / 339.1 MB, free: 6.375 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/0.3227, allocations: 223.8 kB / 339.4 MB, free: 6.156 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.3227, allocations: 3.938 kB / 339.4 MB, free: 6.152 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001945/0.3247, allocations: 0.768 MB / 340.1 MB, free: 5.371 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.3247, allocations: 8 kB / 340.1 MB, free: 5.363 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3247, allocations: 0 / 340.1 MB, free: 5.363 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.3261, allocations: 337.4 kB / 340.5 MB, free: 5.027 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.3265, allocations: 87.88 kB / 340.6 MB, free: 4.941 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.3277, allocations: 1.366 MB / 341.9 MB, free: 3.523 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.3283, allocations: 91.69 kB / 342 MB, free: 3.434 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.3283, allocations: 12 kB / 342 MB, free: 3.422 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 (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.0002178/0.3285, allocations: 161.7 kB / 342.2 MB, free: 3.254 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.3286, allocations: 35.62 kB / 342.2 MB, free: 3.219 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.3308, allocations: 0.8175 MB / 343 MB, free: 2.387 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.3308, allocations: 4 kB / 343 MB, free: 2.383 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.3309, allocations: 3.953 kB / 343 MB, free: 2.379 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3309, allocations: 3.984 kB / 343 MB, free: 2.375 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005984/0.3315, allocations: 454.3 kB / 343.5 MB, free: 1.883 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3315, allocations: 0 / 343.5 MB, free: 1.883 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.3318, allocations: 75.89 kB / 343.6 MB, free: 1.809 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.333, allocations: 333.4 kB / 343.9 MB, free: 1.477 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.333, allocations: 12.05 kB / 343.9 MB, free: 1.465 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.3343, allocations: 1.382 MB / 345.3 MB, free: 32 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3343, allocations: 7.922 kB / 345.3 MB, free: 24 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.337, allocations: 1.125 MB / 346.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3371, allocations: 108.7 kB / 346.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.423e-05/0.3372, allocations: 8 kB / 346.5 MB, free: 14.74 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.3376, allocations: 67.95 kB / 346.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/0.3377, allocations: 27.91 kB / 346.6 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.3377, allocations: 12 kB / 346.6 MB, free: 14.64 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000252/0.338, allocations: 193.9 kB / 346.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.338, allocations: 0 / 346.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004656/0.3385, allocations: 107.8 kB / 346.9 MB, free: 14.34 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 (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.0001907/0.3387, allocations: 115.5 kB / 347 MB, free: 14.22 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.34, allocations: 0.5071 MB / 347.6 MB, free: 13.71 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.34, allocations: 4 kB / 347.6 MB, free: 13.71 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000617/0.3407, allocations: 276 kB / 347.8 MB, free: 13.44 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.341, allocations: 40.61 kB / 347.9 MB, free: 13.4 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.3428, allocations: 1.061 MB / 348.9 MB, free: 12.31 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.3432, allocations: 0.8076 MB / 349.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.3433, allocations: 34.95 kB / 349.8 MB, free: 11.44 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.3434, allocations: 19.44 kB / 349.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3434, allocations: 0 / 349.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of Templates: time 0.009722/0.3531, allocations: 5.203 MB / 355 MB, free: 6.215 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) Environment - environmentSimulation: