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.001214/0.001214, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001471/0.001471, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0004663/0.0004665, allocations: 12 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2714, allocations: 47.57 MB / 326.4 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003351/0.2748, allocations: 2.496 MB / 328.9 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.2767, allocations: 0.8072 MB / 329.7 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.2769, allocations: 5.656 kB / 329.7 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.307e-05/0.277, allocations: 39.72 kB / 329.8 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.2773, allocations: 121.5 kB / 329.9 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.2777, allocations: 113.2 kB / 330 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004801/0.2782, allocations: 343 kB / 330.4 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.2785, allocations: 131.7 kB / 330.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.2789, allocations: 180 kB / 330.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.2792, allocations: 217 kB / 330.9 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.2792, allocations: 26.69 kB / 330.9 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.2794, allocations: 33.11 kB / 330.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.282e-05/0.2795, allocations: 80 kB / 331 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.2796, allocations: 108.3 kB / 331.1 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004124/0.28, allocations: 404 kB / 331.5 MB, free: 13.6 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.28, allocations: 0 / 331.5 MB, free: 13.6 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.28, allocations: 0 / 331.5 MB, free: 13.6 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.28, allocations: 0 / 331.5 MB, free: 13.6 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.001683/0.2817, allocations: 0.7558 MB / 332.3 MB, free: 13 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.2818, allocations: 8.625 kB / 332.3 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.2819, allocations: 48.28 kB / 332.3 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.2824, allocations: 291.9 kB / 332.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/0.2824, allocations: 31.05 kB / 332.6 MB, free: 12.67 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.401e-05/0.2825, allocations: 36.12 kB / 332.7 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.2838, allocations: 0.5287 MB / 333.2 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.2838, allocations: 1.031 kB / 333.2 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/0.2839, allocations: 15.56 kB / 333.2 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.2839, allocations: 9.656 kB / 333.2 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.2854, allocations: 0.5651 MB / 333.8 MB, free: 12.02 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.002905/0.2883, allocations: 1.702 MB / 335.5 MB, free: 10.17 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.2895, allocations: 455.7 kB / 335.9 MB, free: 9.719 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.2896, allocations: 16.31 kB / 335.9 MB, free: 9.703 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.2896, allocations: 38.83 kB / 336 MB, free: 9.656 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 2.214e-06/0.2896, allocations: 0 / 336 MB, free: 9.656 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.004915/0.2946, allocations: 1.541 MB / 337.5 MB, free: 8.066 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.163e-05/0.2947, allocations: 158.2 kB / 337.7 MB, free: 7.875 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.295, allocations: 270.9 kB / 337.9 MB, free: 7.605 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.2951, allocations: 37.7 kB / 338 MB, free: 7.562 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.2953, allocations: 204.4 kB / 338.2 MB, free: 7.359 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.2954, allocations: 137.9 kB / 338.3 MB, free: 7.223 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.2954, allocations: 8 kB / 338.3 MB, free: 7.215 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2956, allocations: 338.8 kB / 338.7 MB, free: 6.875 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005052/0.2961, allocations: 208.7 kB / 338.9 MB, free: 6.668 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.2967, allocations: 298.5 kB / 339.2 MB, free: 6.344 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.2972, allocations: 215.8 kB / 339.4 MB, free: 6.133 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2972, allocations: 3.938 kB / 339.4 MB, free: 6.129 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001932/0.2991, allocations: 0.764 MB / 340.1 MB, free: 5.352 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2992, allocations: 11.94 kB / 340.1 MB, free: 5.34 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2992, allocations: 4.062 kB / 340.1 MB, free: 5.336 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.3005, allocations: 345.3 kB / 340.5 MB, free: 4.992 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.3008, allocations: 83.88 kB / 340.6 MB, free: 4.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.3021, allocations: 1.358 MB / 341.9 MB, free: 3.5 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000531/0.3027, allocations: 95.7 kB / 342 MB, free: 3.406 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.3027, allocations: 12 kB / 342 MB, free: 3.395 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002382/0.303, allocations: 161.7 kB / 342.2 MB, free: 3.227 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.303, allocations: 31.62 kB / 342.2 MB, free: 3.195 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.3052, allocations: 0.8214 MB / 343 MB, free: 2.359 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.3052, allocations: 8 kB / 343 MB, free: 2.352 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.3053, allocations: 3.953 kB / 343.1 MB, free: 2.348 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3053, allocations: 0 / 343.1 MB, free: 2.348 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005825/0.3059, allocations: 458.3 kB / 343.5 MB, free: 1.852 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.3059, allocations: 0 / 343.5 MB, free: 1.852 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.3062, allocations: 71.88 kB / 343.6 MB, free: 1.781 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.3074, allocations: 341.4 kB / 343.9 MB, free: 1.441 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.3074, allocations: 8 kB / 343.9 MB, free: 1.434 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.3086, allocations: 1.378 MB / 345.3 MB, free: 4 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-05/0.3087, allocations: 4.125 kB / 345.3 MB, free: 16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/0.3112, allocations: 1.129 MB / 346.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.3114, allocations: 112.8 kB / 346.5 MB, free: 14.72 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.3115, allocations: 11.94 kB / 346.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.3119, allocations: 67.88 kB / 346.6 MB, free: 14.64 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.312, allocations: 23.92 kB / 346.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.312, allocations: 12 kB / 346.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000224/0.3122, allocations: 189.9 kB / 346.8 MB, free: 14.42 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3122, allocations: 0 / 346.8 MB, free: 14.42 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004309/0.3127, allocations: 107.8 kB / 346.9 MB, free: 14.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001878/0.3129, allocations: 119.5 kB / 347.1 MB, free: 14.19 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.3141, allocations: 0.511 MB / 347.6 MB, free: 13.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.3142, allocations: 0 / 347.6 MB, free: 13.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005874/0.3148, allocations: 276 kB / 347.8 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.3151, allocations: 44.58 kB / 347.9 MB, free: 13.36 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.3168, allocations: 1.061 MB / 348.9 MB, free: 12.28 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.3172, allocations: 0.8037 MB / 349.7 MB, free: 11.45 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.3174, allocations: 34.97 kB / 349.8 MB, free: 11.41 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.3175, allocations: 23.44 kB / 349.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3175, allocations: 0 / 349.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of Templates: time 0.009582/0.3271, allocations: 5.195 MB / 355 MB, free: 6.188 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: