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.0008562/0.0008559, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009535/0.0009533, allocations: 172.7 kB / 15.95 MB, free: 208 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.563/1.563, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.000541/0.0005412, allocations: 8 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2747, allocations: 47.59 MB / 326.5 MB, free: 1.598 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003146/0.2779, allocations: 2.643 MB / 329.1 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.2795, allocations: 0.7881 MB / 329.9 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.2797, allocations: 5.5 kB / 329.9 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.2799, allocations: 48.75 kB / 330 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.2801, allocations: 95.88 kB / 330.1 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.2804, allocations: 100.2 kB / 330.1 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005143/0.281, allocations: 493 kB / 330.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.2813, allocations: 127.6 kB / 330.8 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.2815, allocations: 180.3 kB / 330.9 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.2818, allocations: 225.1 kB / 331.1 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.968e-05/0.2819, allocations: 26.34 kB / 331.2 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.282, allocations: 33.59 kB / 331.2 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.52e-05/0.2821, allocations: 80.5 kB / 331.3 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.94e-05/0.2822, allocations: 103.9 kB / 331.4 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.2826, allocations: 405.3 kB / 331.8 MB, free: 13.58 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2826, allocations: 0 / 331.8 MB, free: 13.58 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2826, allocations: 0 / 331.8 MB, free: 13.58 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.2826, allocations: 0.7812 kB / 331.8 MB, free: 13.58 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.001473/0.2841, allocations: 0.7599 MB / 332.5 MB, free: 12.98 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.2842, allocations: 9 kB / 332.6 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.2843, allocations: 52.03 kB / 332.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.2847, allocations: 291.7 kB / 332.9 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.2847, allocations: 31.45 kB / 332.9 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.01e-05/0.2848, allocations: 40.56 kB / 333 MB, free: 12.62 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.2859, allocations: 0.5272 MB / 333.5 MB, free: 12.31 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.286, allocations: 1.219 kB / 333.5 MB, free: 12.31 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.811e-05/0.286, allocations: 15.44 kB / 333.5 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.286, allocations: 12.81 kB / 333.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.2874, allocations: 0.56 MB / 334.1 MB, free: 11.95 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.002528/0.2899, allocations: 1.694 MB / 335.8 MB, free: 10.11 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.291, allocations: 467.7 kB / 336.2 MB, free: 9.641 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/0.2916, allocations: 261.7 kB / 336.5 MB, free: 9.383 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.2916, allocations: 4.328 kB / 336.5 MB, free: 9.379 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.2917, allocations: 38.89 kB / 336.5 MB, free: 9.332 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 1.843e-06/0.2917, allocations: 0 / 336.5 MB, free: 9.332 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.004528/0.2962, allocations: 1.548 MB / 338.1 MB, free: 7.734 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.589e-05/0.2963, allocations: 162.2 kB / 338.2 MB, free: 7.539 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.2966, allocations: 274.8 kB / 338.5 MB, free: 7.266 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.2966, allocations: 29.7 kB / 338.5 MB, free: 7.23 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.2968, allocations: 200.4 kB / 338.7 MB, free: 7.031 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.2969, allocations: 145.9 kB / 338.9 MB, free: 6.887 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.2969, allocations: 8 kB / 338.9 MB, free: 6.879 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2971, allocations: 342.8 kB / 339.2 MB, free: 6.535 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.2975, allocations: 208.7 kB / 339.4 MB, free: 6.328 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005377/0.2981, allocations: 298.5 kB / 339.7 MB, free: 6.004 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/0.2986, allocations: 219.8 kB / 339.9 MB, free: 5.789 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2986, allocations: 0 / 339.9 MB, free: 5.789 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001822/0.3005, allocations: 0.7679 MB / 340.7 MB, free: 5.008 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3005, allocations: 8 kB / 340.7 MB, free: 5 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3005, allocations: 0 / 340.7 MB, free: 5 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.3017, allocations: 341.4 kB / 341 MB, free: 4.66 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.3021, allocations: 83.89 kB / 341.1 MB, free: 4.578 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.3033, allocations: 1.362 MB / 342.5 MB, free: 3.164 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/0.3038, allocations: 87.69 kB / 342.6 MB, free: 3.078 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.3039, allocations: 23.94 kB / 342.6 MB, free: 3.055 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.0002124/0.3041, allocations: 161.8 kB / 342.7 MB, free: 2.887 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/0.3041, allocations: 31.62 kB / 342.8 MB, free: 2.855 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.3062, allocations: 0.8097 MB / 343.6 MB, free: 2.031 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3062, allocations: 7.953 kB / 343.6 MB, free: 2.023 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.3062, allocations: 0 / 343.6 MB, free: 2.023 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.3062, allocations: 11.92 kB / 343.6 MB, free: 2.012 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006936/0.3069, allocations: 454.3 kB / 344 MB, free: 1.52 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3069, allocations: 0 / 344 MB, free: 1.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.3072, allocations: 76.08 kB / 344.1 MB, free: 1.445 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.3084, allocations: 333.4 kB / 344.4 MB, free: 1.113 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.3084, allocations: 19.86 kB / 344.5 MB, free: 1.094 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.3098, allocations: 1.39 MB / 345.9 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3099, allocations: 0 / 345.9 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.3123, allocations: 1.129 MB / 347 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3124, allocations: 104.7 kB / 347.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.976e-05/0.3125, allocations: 12 kB / 347.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.3129, allocations: 63.94 kB / 347.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.313, allocations: 27.92 kB / 347.2 MB, free: 14.28 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.313, allocations: 12 kB / 347.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002317/0.3132, allocations: 189.9 kB / 347.4 MB, free: 14.08 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3133, allocations: 0 / 347.4 MB, free: 14.08 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004671/0.3137, allocations: 107.8 kB / 347.5 MB, free: 13.97 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.0001932/0.3139, allocations: 115.5 kB / 347.6 MB, free: 13.85 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.3152, allocations: 0.5187 MB / 348.1 MB, free: 13.33 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3152, allocations: 320 / 348.1 MB, free: 13.33 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005814/0.3158, allocations: 275.8 kB / 348.4 MB, free: 13.06 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.3163, allocations: 44.58 kB / 348.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.3181, allocations: 1.057 MB / 349.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.3185, allocations: 0.792 MB / 350.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001635/0.3187, allocations: 34.95 kB / 350.3 MB, free: 11.08 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.3188, allocations: 23.44 kB / 350.3 MB, free: 11.06 MB / 286.1 MB Notification: Performance of SimCode: time 1.914e-06/0.3188, allocations: 4 kB / 350.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of Templates: time 0.01123/0.33, allocations: 5.219 MB / 355.6 MB, free: 5.832 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)