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.0008041/0.0008041, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005851/0.005851, allocations: 170.1 kB / 16.26 MB, free: 6.676 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.47/1.47, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0005267/0.0005268, allocations: 15.98 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3025, allocations: 47.59 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003457/0.306, allocations: 2.771 MB / 329.8 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.3085, allocations: 0.8022 MB / 330.6 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.3088, allocations: 5.312 kB / 330.6 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.309, allocations: 41 kB / 330.6 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.3092, allocations: 98.95 kB / 330.7 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.3097, allocations: 121.2 kB / 330.9 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006337/0.3103, allocations: 0.5081 MB / 331.4 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003774/0.3107, allocations: 148.2 kB / 331.5 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.311, allocations: 188.7 kB / 331.7 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.3114, allocations: 229 kB / 331.9 MB, free: 13.65 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.516e-05/0.3115, allocations: 31.25 kB / 331.9 MB, free: 13.65 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.3116, allocations: 33.34 kB / 332 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.3117, allocations: 83.25 kB / 332.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.312, allocations: 238.7 kB / 332.3 MB, free: 13.4 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006426/0.3127, allocations: 0.5067 MB / 332.8 MB, free: 13.01 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3127, allocations: 0 / 332.8 MB, free: 13.01 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3127, allocations: 0 / 332.8 MB, free: 13.01 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.3127, allocations: 1.062 kB / 332.8 MB, free: 13.01 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.001604/0.3143, allocations: 0.7475 MB / 333.6 MB, free: 12.42 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.3144, allocations: 9.594 kB / 333.6 MB, free: 12.42 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.3145, allocations: 52.34 kB / 333.6 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.3149, allocations: 301.6 kB / 333.9 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/0.315, allocations: 27.81 kB / 333.9 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.699e-05/0.3151, allocations: 36.34 kB / 334 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.3164, allocations: 0.5387 MB / 334.5 MB, free: 11.74 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.3164, allocations: 1.062 kB / 334.5 MB, free: 11.74 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.3164, allocations: 19.47 kB / 334.5 MB, free: 11.73 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.3165, allocations: 9.469 kB / 334.5 MB, free: 11.73 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.3179, allocations: 0.5634 MB / 335.1 MB, free: 11.17 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.002827/0.3207, allocations: 1.686 MB / 336.8 MB, free: 9.336 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.322, allocations: 463.7 kB / 337.2 MB, free: 8.875 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.3225, allocations: 269.4 kB / 337.5 MB, free: 8.609 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/0.3226, allocations: 16.23 kB / 337.5 MB, free: 8.594 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.3226, allocations: 38.89 kB / 337.6 MB, free: 8.547 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 2.815e-06/0.3226, allocations: 3.938 kB / 337.6 MB, free: 8.543 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.00519/0.3278, allocations: 1.548 MB / 339.1 MB, free: 6.945 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.3279, allocations: 158.2 kB / 339.3 MB, free: 6.754 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.3283, allocations: 274.9 kB / 339.5 MB, free: 6.48 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.3284, allocations: 33.7 kB / 339.6 MB, free: 6.441 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3285, allocations: 208.3 kB / 339.8 MB, free: 6.234 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.3287, allocations: 134 kB / 339.9 MB, free: 6.102 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.3287, allocations: 41.7 kB / 339.9 MB, free: 6.055 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3289, allocations: 342.8 kB / 340.3 MB, free: 5.711 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005296/0.3294, allocations: 204.8 kB / 340.5 MB, free: 5.508 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006136/0.33, allocations: 298.5 kB / 340.8 MB, free: 5.184 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.3311, allocations: 474.5 kB / 341.2 MB, free: 4.695 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.3311, allocations: 4 kB / 341.2 MB, free: 4.691 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001954/0.333, allocations: 0.7405 MB / 342 MB, free: 3.938 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.3331, allocations: 8 kB / 342 MB, free: 3.93 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.3331, allocations: 0 / 342 MB, free: 3.93 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.3345, allocations: 349.4 kB / 342.3 MB, free: 3.582 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.3348, allocations: 83.88 kB / 342.4 MB, free: 3.5 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.3362, allocations: 1.37 MB / 343.8 MB, free: 2.078 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.3367, allocations: 87.69 kB / 343.9 MB, free: 1.992 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.3368, allocations: 16 kB / 343.9 MB, free: 1.977 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.0002232/0.337, allocations: 161.7 kB / 344 MB, free: 1.809 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.301e-05/0.3371, allocations: 39.52 kB / 344.1 MB, free: 1.77 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.3394, allocations: 0.8253 MB / 344.9 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.3394, allocations: 4 kB / 344.9 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3394, allocations: 0 / 344.9 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3394, allocations: 3.984 kB / 344.9 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/0.34, allocations: 461.1 kB / 345.4 MB, free: 432 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.34, allocations: 0 / 345.4 MB, free: 432 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.3404, allocations: 67.89 kB / 345.4 MB, free: 364 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/0.3415, allocations: 349.4 kB / 345.8 MB, free: 8 kB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.3416, allocations: 4 kB / 345.8 MB, free: 4 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.3429, allocations: 1.385 MB / 347.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3429, allocations: 0 / 347.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/0.3456, allocations: 1.128 MB / 348.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.3457, allocations: 108.6 kB / 348.4 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.3458, allocations: 20.05 kB / 348.4 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.3461, allocations: 52.14 kB / 348.5 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.3462, allocations: 31.95 kB / 348.5 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.3463, allocations: 15.94 kB / 348.5 MB, free: 13.17 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000228/0.3465, allocations: 186 kB / 348.7 MB, free: 12.99 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.522e-06/0.3465, allocations: 0 / 348.7 MB, free: 12.99 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.347, allocations: 115.7 kB / 348.8 MB, free: 12.88 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.0001882/0.3471, allocations: 119.1 kB / 348.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.3485, allocations: 0.5117 MB / 349.4 MB, free: 12.24 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3485, allocations: 0 / 349.4 MB, free: 12.24 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006338/0.3492, allocations: 272.1 kB / 349.7 MB, free: 11.97 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.3497, allocations: 48.55 kB / 349.7 MB, free: 11.93 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.3516, allocations: 1.097 MB / 350.8 MB, free: 10.8 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.3521, allocations: 0.8009 MB / 351.6 MB, free: 9.977 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001931/0.3523, allocations: 30.98 kB / 351.7 MB, free: 9.945 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.953e-05/0.3524, allocations: 27.42 kB / 351.7 MB, free: 9.918 MB / 286.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3524, allocations: 0 / 351.7 MB, free: 9.918 MB / 286.1 MB Notification: Performance of Templates: time 0.01095/0.3633, allocations: 5.403 MB / 357.1 MB, free: 4.512 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)