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.001227/0.001226, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002191/0.002191, allocations: 193 kB / 16.25 MB, free: 6.625 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.581/1.581, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.001276/0.001276, allocations: 47.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2684, allocations: 46.63 MB / 324.8 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004151/0.2726, allocations: 3.14 MB / 328 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.2741, allocations: 0.8149 MB / 328.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.2743, allocations: 6.344 kB / 328.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.2745, allocations: 40.98 kB / 328.8 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.2747, allocations: 95.58 kB / 328.9 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.2751, allocations: 128.2 kB / 329.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004852/0.2756, allocations: 0.525 MB / 329.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.2759, allocations: 176.1 kB / 329.8 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.2762, allocations: 212.2 kB / 330 MB, free: 14 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.2764, allocations: 252.5 kB / 330.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.493e-05/0.2765, allocations: 51.5 kB / 330.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.2767, allocations: 57.61 kB / 330.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.671e-05/0.2768, allocations: 115.6 kB / 330.4 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.277, allocations: 240.1 kB / 330.7 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.2776, allocations: 0.5412 MB / 331.2 MB, free: 13.13 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2776, allocations: 0 / 331.2 MB, free: 13.13 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2776, allocations: 0 / 331.2 MB, free: 13.13 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.2776, allocations: 1.188 kB / 331.2 MB, free: 13.13 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.001712/0.2793, allocations: 0.7872 MB / 332 MB, free: 12.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.2794, allocations: 14.55 kB / 332 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.2796, allocations: 48.66 kB / 332.1 MB, free: 12.47 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.28, allocations: 299.6 kB / 332.4 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.28, allocations: 36.86 kB / 332.4 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/0.2801, allocations: 39.73 kB / 332.4 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.2812, allocations: 0.4993 MB / 332.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.2812, allocations: 4 kB / 332.9 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.2813, allocations: 16.97 kB / 332.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.2813, allocations: 8.156 kB / 333 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.2825, allocations: 0.5056 MB / 333.5 MB, free: 11.36 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.002447/0.285, allocations: 1.663 MB / 335.1 MB, free: 9.559 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.286, allocations: 423.6 kB / 335.5 MB, free: 9.137 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004834/0.2865, allocations: 249.3 kB / 335.8 MB, free: 8.891 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.503e-05/0.2866, allocations: 12.31 kB / 335.8 MB, free: 8.879 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.2866, allocations: 38.89 kB / 335.8 MB, free: 8.832 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 2.024e-06/0.2866, allocations: 0 / 335.8 MB, free: 8.832 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.004641/0.2912, allocations: 1.368 MB / 337.2 MB, free: 7.414 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.2914, allocations: 162.2 kB / 337.4 MB, free: 7.219 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.2917, allocations: 267 kB / 337.6 MB, free: 6.953 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.2918, allocations: 33.7 kB / 337.7 MB, free: 6.914 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.2919, allocations: 208.3 kB / 337.9 MB, free: 6.707 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.292, allocations: 134 kB / 338 MB, free: 6.574 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.2921, allocations: 74.14 kB / 338.1 MB, free: 6.492 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2923, allocations: 346.8 kB / 338.4 MB, free: 6.145 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.2927, allocations: 184.7 kB / 338.6 MB, free: 5.965 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005344/0.2933, allocations: 282.5 kB / 338.9 MB, free: 5.656 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008846/0.2942, allocations: 426.6 kB / 339.3 MB, free: 5.215 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2942, allocations: 0 / 339.3 MB, free: 5.215 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001713/0.2959, allocations: 0.6897 MB / 340 MB, free: 4.512 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.2959, allocations: 8 kB / 340 MB, free: 4.504 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.296, allocations: 0 / 340 MB, free: 4.504 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.2972, allocations: 317.4 kB / 340.3 MB, free: 4.188 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.2976, allocations: 83.88 kB / 340.4 MB, free: 4.105 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.2988, allocations: 1.339 MB / 341.7 MB, free: 2.715 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.2993, allocations: 87.67 kB / 341.8 MB, free: 2.629 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.2993, allocations: 16 kB / 341.8 MB, free: 2.613 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.0001943/0.2995, allocations: 153.7 kB / 341.9 MB, free: 2.453 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.2996, allocations: 35.62 kB / 342 MB, free: 2.418 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.3016, allocations: 0.7354 MB / 342.7 MB, free: 1.668 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.3016, allocations: 4 kB / 342.7 MB, free: 1.664 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3016, allocations: 0 / 342.7 MB, free: 1.664 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.3016, allocations: 0 / 342.7 MB, free: 1.664 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.3022, allocations: 461 kB / 343.2 MB, free: 1.164 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3022, allocations: 0 / 343.2 MB, free: 1.164 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.3025, allocations: 59.88 kB / 343.2 MB, free: 1.105 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/0.3037, allocations: 325.4 kB / 343.5 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.3037, allocations: 4 kB / 343.6 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.3049, allocations: 1.366 MB / 344.9 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3049, allocations: 192 / 344.9 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.3073, allocations: 1.023 MB / 345.9 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.3075, allocations: 112.5 kB / 346.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/0.3075, allocations: 11.98 kB / 346.1 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.3079, allocations: 48.02 kB / 346.1 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.308, allocations: 19.97 kB / 346.1 MB, free: 14.1 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.3081, allocations: 15.92 kB / 346.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002403/0.3083, allocations: 194 kB / 346.3 MB, free: 13.89 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3083, allocations: 0 / 346.3 MB, free: 13.89 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004544/0.3088, allocations: 107.8 kB / 346.4 MB, free: 13.79 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.0001981/0.309, allocations: 115.1 kB / 346.6 MB, free: 13.67 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.3103, allocations: 488.2 kB / 347 MB, free: 13.19 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3103, allocations: 0 / 347 MB, free: 13.19 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000549/0.3108, allocations: 255.5 kB / 347.3 MB, free: 12.94 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.3113, allocations: 47.83 kB / 347.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.313, allocations: 1.027 MB / 348.4 MB, free: 11.85 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.3134, allocations: 0.7956 MB / 349.1 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.3135, allocations: 30.97 kB / 349.2 MB, free: 10.99 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.3136, allocations: 19.44 kB / 349.2 MB, free: 10.97 MB / 286.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3136, allocations: 0 / 349.2 MB, free: 10.97 MB / 286.1 MB Notification: Performance of Templates: time 0.01037/0.324, allocations: 5.778 MB / 355 MB, free: 5.188 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)