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.001851/0.001851, 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.002157/0.002157, allocations: 190.4 kB / 16.13 MB, free: 6.668 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.604/1.604, allocations: 205.1 MB / 222 MB, free: 4.664 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.001203/0.001203, allocations: 63.91 kB / 278 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2584, allocations: 46.63 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003905/0.2624, allocations: 3.132 MB / 327.8 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.2638, allocations: 0.8271 MB / 328.6 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.2639, allocations: 5.438 kB / 328.6 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.2641, allocations: 36.28 kB / 328.7 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.2643, allocations: 99.81 kB / 328.8 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.2647, allocations: 117 kB / 328.9 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005535/0.2653, allocations: 0.5124 MB / 329.4 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.2656, allocations: 140.3 kB / 329.5 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.2659, allocations: 208.4 kB / 329.7 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.2661, allocations: 241.6 kB / 330 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.461e-05/0.2662, allocations: 33.28 kB / 330 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.2664, allocations: 38.94 kB / 330 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.675e-05/0.2665, allocations: 96.84 kB / 330.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.2667, allocations: 222.8 kB / 330.4 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005969/0.2673, allocations: 0.5207 MB / 330.9 MB, free: 13.24 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2673, allocations: 0 / 330.9 MB, free: 13.24 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2673, allocations: 1.25 kB / 330.9 MB, free: 13.24 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.2674, allocations: 4 kB / 330.9 MB, free: 13.24 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.001793/0.2692, allocations: 0.7871 MB / 331.7 MB, free: 12.6 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.2692, allocations: 9.469 kB / 331.7 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.2693, allocations: 53.02 kB / 331.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.2698, allocations: 301.4 kB / 332 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.2699, allocations: 35.19 kB / 332.1 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.2699, allocations: 37.06 kB / 332.1 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.2717, allocations: 0.5021 MB / 332.6 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.2717, allocations: 1.094 kB / 332.6 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.907e-05/0.2718, allocations: 15.41 kB / 332.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.2718, allocations: 9.375 kB / 332.6 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.2738, allocations: 0.5039 MB / 333.1 MB, free: 11.55 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.002592/0.2764, allocations: 1.655 MB / 334.8 MB, free: 9.754 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.2774, allocations: 419.7 kB / 335.2 MB, free: 9.336 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.2779, allocations: 249.8 kB / 335.4 MB, free: 9.09 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/0.278, allocations: 12.3 kB / 335.4 MB, free: 9.078 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.278, allocations: 38.89 kB / 335.5 MB, free: 9.031 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 1.844e-06/0.278, allocations: 0 / 335.5 MB, free: 9.031 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.004906/0.2829, allocations: 1.372 MB / 336.9 MB, free: 7.609 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.374e-05/0.283, allocations: 158.2 kB / 337 MB, free: 7.418 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.2834, allocations: 267 kB / 337.3 MB, free: 7.152 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.2834, allocations: 33.7 kB / 337.3 MB, free: 7.113 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.2836, allocations: 204.3 kB / 337.5 MB, free: 6.91 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.2837, allocations: 142 kB / 337.6 MB, free: 6.77 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.2838, allocations: 74.12 kB / 337.7 MB, free: 6.688 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.284, allocations: 346.8 kB / 338.1 MB, free: 6.34 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006004/0.2846, allocations: 180.8 kB / 338.2 MB, free: 6.164 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005434/0.2852, allocations: 278.5 kB / 338.5 MB, free: 5.859 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.2862, allocations: 430.6 kB / 338.9 MB, free: 5.414 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/0.2862, allocations: 4 kB / 338.9 MB, free: 5.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001772/0.288, allocations: 0.6741 MB / 339.6 MB, free: 4.723 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.2881, allocations: 8.625 kB / 339.6 MB, free: 4.715 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2881, allocations: 0 / 339.6 MB, free: 4.715 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.2894, allocations: 329.4 kB / 339.9 MB, free: 4.387 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.2897, allocations: 75.88 kB / 340 MB, free: 4.312 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.2913, allocations: 1.354 MB / 341.4 MB, free: 2.906 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.2918, allocations: 75.59 kB / 341.4 MB, free: 2.832 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.2919, allocations: 19.98 kB / 341.5 MB, free: 2.812 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.0002137/0.2921, allocations: 165.7 kB / 341.6 MB, free: 2.641 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-05/0.2922, allocations: 31.62 kB / 341.6 MB, free: 2.609 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.2942, allocations: 0.7237 MB / 342.4 MB, free: 1.871 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.2943, allocations: 8 kB / 342.4 MB, free: 1.863 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2943, allocations: 0 / 342.4 MB, free: 1.863 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.2943, allocations: 7.984 kB / 342.4 MB, free: 1.855 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.2949, allocations: 465 kB / 342.8 MB, free: 1.352 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2949, allocations: 0 / 342.8 MB, free: 1.352 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.2952, allocations: 63.89 kB / 342.9 MB, free: 1.289 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001157/0.2963, allocations: 325.4 kB / 343.2 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.2964, allocations: 8 kB / 343.2 MB, free: 0.957 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.2977, allocations: 1.358 MB / 344.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2977, allocations: 0 / 344.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.3001, allocations: 1.015 MB / 345.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.43e-05/0.3002, allocations: 112.6 kB / 345.7 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.3003, allocations: 16.05 kB / 345.7 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.3006, allocations: 40.14 kB / 345.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.3007, allocations: 27.95 kB / 345.8 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.3008, allocations: 15.94 kB / 345.8 MB, free: 14.28 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.301, allocations: 186 kB / 346 MB, free: 14.1 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.301, allocations: 7.938 kB / 346 MB, free: 14.09 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004264/0.3014, allocations: 107.8 kB / 346.1 MB, free: 13.98 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.0001729/0.3016, allocations: 119.1 kB / 346.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.3029, allocations: 476 kB / 346.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3029, allocations: 0 / 346.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005795/0.3035, allocations: 252.1 kB / 346.9 MB, free: 13.15 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.3039, allocations: 40.55 kB / 347 MB, free: 13.11 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.3056, allocations: 1.029 MB / 348 MB, free: 12.05 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.3061, allocations: 0.7971 MB / 348.8 MB, free: 11.23 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.3062, allocations: 30.97 kB / 348.8 MB, free: 11.2 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.3063, allocations: 23.44 kB / 348.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3063, allocations: 3.938 kB / 348.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of Templates: time 0.009971/0.3163, allocations: 5.442 MB / 354.3 MB, free: 5.727 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (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)