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.0008477/0.0008477, allocations: 91.14 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.007611/0.007612, allocations: 174 kB / 16.27 MB, free: 6.613 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.682/1.682, 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.0004694/0.0004697, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2607, allocations: 47.59 MB / 327 MB, free: 1.355 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002916/0.2637, allocations: 2.76 MB / 329.8 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.2652, allocations: 0.8132 MB / 330.6 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.2654, allocations: 5.875 kB / 330.6 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.2656, allocations: 40.41 kB / 330.7 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.2658, allocations: 91.33 kB / 330.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.2662, allocations: 125.6 kB / 330.9 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.2667, allocations: 0.5121 MB / 331.4 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002909/0.267, allocations: 139.7 kB / 331.5 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.2673, allocations: 189.4 kB / 331.7 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.2676, allocations: 223.9 kB / 331.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.276e-05/0.2676, allocations: 27.62 kB / 331.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.2678, allocations: 37.53 kB / 332 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.581e-05/0.2679, allocations: 87.19 kB / 332.1 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.2681, allocations: 230.7 kB / 332.3 MB, free: 13.37 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004902/0.2686, allocations: 0.5064 MB / 332.8 MB, free: 12.98 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2686, allocations: 4 kB / 332.8 MB, free: 12.98 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2686, allocations: 1.156 kB / 332.8 MB, free: 12.98 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.2686, allocations: 3.938 kB / 332.8 MB, free: 12.97 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.001545/0.2702, allocations: 0.7482 MB / 333.6 MB, free: 12.38 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2702, allocations: 12.81 kB / 333.6 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.2703, allocations: 53.36 kB / 333.6 MB, free: 12.35 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.2707, allocations: 300.1 kB / 333.9 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.2707, allocations: 28.97 kB / 333.9 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.2708, allocations: 39.83 kB / 334 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.272, allocations: 0.5316 MB / 334.5 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.272, allocations: 0 / 334.5 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.2721, allocations: 16.44 kB / 334.5 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.2721, allocations: 9.312 kB / 334.5 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.2735, allocations: 0.5695 MB / 335.1 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.002558/0.2761, allocations: 1.69 MB / 336.8 MB, free: 9.309 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.2772, allocations: 459.7 kB / 337.2 MB, free: 8.852 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005508/0.2778, allocations: 265.3 kB / 337.5 MB, free: 8.59 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.442e-05/0.2778, allocations: 20.23 kB / 337.5 MB, free: 8.57 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.2779, allocations: 38.89 kB / 337.6 MB, free: 8.523 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 2.304e-06/0.2779, allocations: 0 / 337.6 MB, free: 8.523 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.005278/0.2832, allocations: 1.552 MB / 339.1 MB, free: 6.922 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.2833, allocations: 158.2 kB / 339.3 MB, free: 6.73 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.2836, allocations: 270.9 kB / 339.5 MB, free: 6.461 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.2837, allocations: 33.7 kB / 339.6 MB, free: 6.422 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.2838, allocations: 212.3 kB / 339.8 MB, free: 6.211 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.284, allocations: 138 kB / 339.9 MB, free: 6.074 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.284, allocations: 37.7 kB / 339.9 MB, free: 6.031 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.2842, allocations: 342.8 kB / 340.3 MB, free: 5.688 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/0.2848, allocations: 200.8 kB / 340.5 MB, free: 5.488 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000601/0.2854, allocations: 310.5 kB / 340.8 MB, free: 5.152 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.2864, allocations: 470.6 kB / 341.2 MB, free: 4.668 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2864, allocations: 0 / 341.2 MB, free: 4.668 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001973/0.2884, allocations: 0.7444 MB / 342 MB, free: 3.91 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2885, allocations: 4 kB / 342 MB, free: 3.906 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.2885, allocations: 7.984 kB / 342 MB, free: 3.898 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.2898, allocations: 333.4 kB / 342.3 MB, free: 3.566 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.2902, allocations: 91.88 kB / 342.4 MB, free: 3.477 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.2915, allocations: 1.362 MB / 343.8 MB, free: 2.062 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.2921, allocations: 91.78 kB / 343.9 MB, free: 1.973 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.2921, allocations: 20 kB / 343.9 MB, free: 1.953 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.000207/0.2923, allocations: 157.7 kB / 344 MB, free: 1.789 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.2924, allocations: 39.52 kB / 344.1 MB, free: 1.75 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.2947, allocations: 0.8253 MB / 344.9 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.2948, allocations: 4 kB / 344.9 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2948, allocations: 0 / 344.9 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.2948, allocations: 3.984 kB / 344.9 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.2954, allocations: 461.1 kB / 345.4 MB, free: 412 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.2954, allocations: 4 kB / 345.4 MB, free: 408 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.2957, allocations: 67.89 kB / 345.4 MB, free: 340 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.2969, allocations: 341.4 kB / 345.8 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.297, allocations: 12 kB / 345.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.2983, allocations: 1.385 MB / 347.2 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2983, allocations: 4.031 kB / 347.2 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002723/0.3011, allocations: 1.124 MB / 348.3 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.3012, allocations: 112.6 kB / 348.4 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.3013, allocations: 8 kB / 348.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.3017, allocations: 64.02 kB / 348.5 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.3018, allocations: 23.95 kB / 348.5 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.3018, allocations: 8 kB / 348.5 MB, free: 13.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002579/0.3021, allocations: 198 kB / 348.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.625e-06/0.3021, allocations: 0 / 348.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004336/0.3025, allocations: 111.7 kB / 348.8 MB, free: 12.86 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.0001825/0.3027, allocations: 115.1 kB / 348.9 MB, free: 12.73 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.3041, allocations: 0.5117 MB / 349.4 MB, free: 12.22 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3041, allocations: 192 / 349.4 MB, free: 12.22 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006349/0.3047, allocations: 280.1 kB / 349.7 MB, free: 11.95 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.3052, allocations: 44.52 kB / 349.7 MB, free: 11.91 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.307, allocations: 1.108 MB / 350.8 MB, free: 10.77 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.3073, allocations: 0.797 MB / 351.6 MB, free: 9.949 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.3075, allocations: 30.97 kB / 351.7 MB, free: 9.918 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.3075, allocations: 23.42 kB / 351.7 MB, free: 9.895 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3075, allocations: 7.938 kB / 351.7 MB, free: 9.887 MB / 286.1 MB Notification: Performance of Templates: time 0.0101/0.3176, allocations: 5.391 MB / 357.1 MB, free: 4.492 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)