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.001545/0.001545, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001785/0.001785, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.569/1.569, allocations: 205.1 MB / 222 MB, free: 4.73 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.001259/0.00126, allocations: 43.94 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2756, allocations: 46.63 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004163/0.2799, allocations: 3.143 MB / 327.8 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.2815, allocations: 0.8165 MB / 328.6 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.2816, allocations: 8.812 kB / 328.6 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.2819, allocations: 44.91 kB / 328.7 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.2821, allocations: 92.03 kB / 328.8 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.2825, allocations: 128.3 kB / 328.9 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005585/0.283, allocations: 0.4962 MB / 329.4 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.2834, allocations: 149.5 kB / 329.5 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.2837, allocations: 199 kB / 329.7 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003273/0.284, allocations: 245.5 kB / 330 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.672e-05/0.2841, allocations: 33.88 kB / 330 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.2843, allocations: 47.98 kB / 330.1 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.2844, allocations: 87.61 kB / 330.1 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002891/0.2847, allocations: 218.9 kB / 330.3 MB, free: 13.63 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006538/0.2854, allocations: 0.5215 MB / 330.9 MB, free: 13.23 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2854, allocations: 3.938 kB / 330.9 MB, free: 13.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2854, allocations: 0 / 330.9 MB, free: 13.23 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.2854, allocations: 0.9375 kB / 330.9 MB, free: 13.23 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.001842/0.2873, allocations: 0.7914 MB / 331.7 MB, free: 12.58 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.979e-05/0.2873, allocations: 10.03 kB / 331.7 MB, free: 12.58 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.2875, allocations: 47.81 kB / 331.7 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.2879, allocations: 305.9 kB / 332 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.288, allocations: 28.75 kB / 332.1 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.2881, allocations: 39.41 kB / 332.1 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.2895, allocations: 0.5031 MB / 332.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.2896, allocations: 7.938 kB / 332.6 MB, free: 11.9 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/0.2896, allocations: 11.47 kB / 332.6 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.2896, allocations: 9.188 kB / 332.6 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.291, allocations: 0.5024 MB / 333.1 MB, free: 11.58 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.00253/0.2935, allocations: 1.659 MB / 334.8 MB, free: 9.777 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.2946, allocations: 423.7 kB / 335.2 MB, free: 9.355 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.2951, allocations: 253.8 kB / 335.4 MB, free: 9.105 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.2951, allocations: 8.328 kB / 335.5 MB, free: 9.098 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.2952, allocations: 38.89 kB / 335.5 MB, free: 9.051 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 1.302e-06/0.2952, allocations: 0 / 335.5 MB, free: 9.051 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.004682/0.2999, allocations: 1.364 MB / 336.9 MB, free: 7.637 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.3, allocations: 166.2 kB / 337 MB, free: 7.438 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.3004, allocations: 267 kB / 337.3 MB, free: 7.172 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.3004, allocations: 33.7 kB / 337.3 MB, free: 7.133 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.3006, allocations: 208.3 kB / 337.5 MB, free: 6.926 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.3008, allocations: 134 kB / 337.6 MB, free: 6.793 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.3009, allocations: 74.08 kB / 337.7 MB, free: 6.711 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3011, allocations: 346.8 kB / 338.1 MB, free: 6.363 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.3016, allocations: 180.8 kB / 338.2 MB, free: 6.188 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/0.3021, allocations: 282.5 kB / 338.5 MB, free: 5.879 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009183/0.303, allocations: 434.5 kB / 338.9 MB, free: 5.43 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3031, allocations: 0 / 338.9 MB, free: 5.43 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00178/0.3048, allocations: 0.678 MB / 339.6 MB, free: 4.738 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.3049, allocations: 8.609 kB / 339.6 MB, free: 4.73 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3049, allocations: 4 kB / 339.6 MB, free: 4.727 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/0.3063, allocations: 313.5 kB / 339.9 MB, free: 4.414 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.3067, allocations: 79.88 kB / 340 MB, free: 4.336 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.3081, allocations: 1.354 MB / 341.4 MB, free: 2.93 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/0.3086, allocations: 83.52 kB / 341.4 MB, free: 2.848 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/0.3087, allocations: 16 kB / 341.5 MB, free: 2.832 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.0002828/0.309, allocations: 157.8 kB / 341.6 MB, free: 2.668 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.5e-05/0.3091, allocations: 31.62 kB / 341.6 MB, free: 2.637 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.3112, allocations: 0.7393 MB / 342.4 MB, free: 1.883 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.3112, allocations: 4.047 kB / 342.4 MB, free: 1.879 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.3112, allocations: 3.984 kB / 342.4 MB, free: 1.875 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3113, allocations: 4 kB / 342.4 MB, free: 1.871 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006367/0.3119, allocations: 461 kB / 342.8 MB, free: 1.371 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.3119, allocations: 4 kB / 342.8 MB, free: 1.367 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.3122, allocations: 55.94 kB / 342.9 MB, free: 1.312 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/0.3134, allocations: 329.3 kB / 343.2 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.3135, allocations: 12 kB / 343.2 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.3148, allocations: 1.354 MB / 344.6 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3148, allocations: 0 / 344.6 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/0.3173, allocations: 1.019 MB / 345.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.3174, allocations: 112.6 kB / 345.7 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.814e-05/0.3175, allocations: 8 kB / 345.7 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.3179, allocations: 48.02 kB / 345.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/0.318, allocations: 27.95 kB / 345.8 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.318, allocations: 8 kB / 345.8 MB, free: 14.3 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002403/0.3182, allocations: 189.9 kB / 346 MB, free: 14.12 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3182, allocations: 3.938 kB / 346 MB, free: 14.11 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004609/0.3187, allocations: 111.8 kB / 346.1 MB, free: 14 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.0001832/0.3189, allocations: 111.2 kB / 346.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.3202, allocations: 480 kB / 346.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3202, allocations: 0 / 346.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006106/0.3208, allocations: 256 kB / 346.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.3213, allocations: 48.66 kB / 347 MB, free: 13.12 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.3235, allocations: 1.021 MB / 348 MB, free: 12.07 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.324, allocations: 0.7932 MB / 348.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.3242, allocations: 26.98 kB / 348.8 MB, free: 11.23 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.3242, allocations: 27.42 kB / 348.8 MB, free: 11.2 MB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3243, allocations: 0 / 348.8 MB, free: 11.2 MB / 286.1 MB Notification: Performance of Templates: time 0.01024/0.3345, allocations: 5.454 MB / 354.3 MB, free: 5.742 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)