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.0008655/0.0008655, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001496/0.001497, allocations: 168.7 kB / 15.95 MB, free: 204 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.463/1.463, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0005171/0.0005172, allocations: 18.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3194, allocations: 47.58 MB / 326.5 MB, free: 1.371 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003391/0.3228, allocations: 2.634 MB / 329.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3245, allocations: 0.7946 MB / 329.9 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.3247, allocations: 4.875 kB / 329.9 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.3249, allocations: 49.53 kB / 330 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.3251, allocations: 92.56 kB / 330.1 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.3255, allocations: 107.7 kB / 330.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005618/0.326, allocations: 488 kB / 330.6 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.3264, allocations: 128.4 kB / 330.8 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.3267, allocations: 177 kB / 330.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.327, allocations: 215.6 kB / 331.1 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.905e-05/0.3271, allocations: 27.53 kB / 331.2 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.3272, allocations: 29.47 kB / 331.2 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.562e-05/0.3273, allocations: 95.52 kB / 331.3 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.3275, allocations: 100.6 kB / 331.4 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.3279, allocations: 401.1 kB / 331.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3279, allocations: 0 / 331.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of FrontEnd: time 5.61e-06/0.3279, allocations: 3.984 kB / 331.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3279, allocations: 0.9688 kB / 331.8 MB, free: 13.36 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.001491/0.3294, allocations: 0.7557 MB / 332.5 MB, free: 12.76 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3295, allocations: 9.469 kB / 332.6 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.3296, allocations: 51.45 kB / 332.6 MB, free: 12.73 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.33, allocations: 295.3 kB / 332.9 MB, free: 12.44 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.3301, allocations: 31.83 kB / 332.9 MB, free: 12.42 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.683e-05/0.3301, allocations: 36.09 kB / 333 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.3314, allocations: 0.5282 MB / 333.5 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3314, allocations: 7.984 kB / 333.5 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.3315, allocations: 12.06 kB / 333.5 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.3315, allocations: 13.53 kB / 333.5 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.3329, allocations: 0.5641 MB / 334.1 MB, free: 11.75 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.3355, allocations: 1.69 MB / 335.8 MB, free: 9.914 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.3366, allocations: 463.7 kB / 336.2 MB, free: 9.453 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005076/0.3371, allocations: 261.8 kB / 336.5 MB, free: 9.195 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.3372, allocations: 16.3 kB / 336.5 MB, free: 9.18 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3372, allocations: 38.89 kB / 336.5 MB, free: 9.133 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 3.296e-06/0.3372, allocations: 0 / 336.5 MB, free: 9.133 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.004629/0.3419, allocations: 1.548 MB / 338.1 MB, free: 7.535 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.342, allocations: 158.2 kB / 338.2 MB, free: 7.344 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.3423, allocations: 266.9 kB / 338.5 MB, free: 7.078 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.3424, allocations: 37.7 kB / 338.5 MB, free: 7.035 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.3426, allocations: 204.4 kB / 338.7 MB, free: 6.832 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.3427, allocations: 137.9 kB / 338.9 MB, free: 6.695 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.3427, allocations: 11.94 kB / 338.9 MB, free: 6.684 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3429, allocations: 346.8 kB / 339.2 MB, free: 6.336 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004975/0.3434, allocations: 204.8 kB / 339.4 MB, free: 6.133 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/0.344, allocations: 298.5 kB / 339.7 MB, free: 5.809 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/0.3445, allocations: 219.8 kB / 339.9 MB, free: 5.594 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3445, allocations: 0 / 339.9 MB, free: 5.594 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001842/0.3464, allocations: 0.7679 MB / 340.7 MB, free: 4.812 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3464, allocations: 4 kB / 340.7 MB, free: 4.809 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3464, allocations: 4 kB / 340.7 MB, free: 4.805 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.3477, allocations: 337.4 kB / 341 MB, free: 4.469 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.348, allocations: 87.88 kB / 341.1 MB, free: 4.383 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.3493, allocations: 1.366 MB / 342.5 MB, free: 2.965 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.3498, allocations: 91.69 kB / 342.6 MB, free: 2.875 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.3499, allocations: 19.94 kB / 342.6 MB, free: 2.855 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.0002149/0.3501, allocations: 161.8 kB / 342.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.3502, allocations: 31.62 kB / 342.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.3522, allocations: 0.8097 MB / 343.6 MB, free: 1.832 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.3522, allocations: 7.953 kB / 343.6 MB, free: 1.824 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3523, allocations: 0 / 343.6 MB, free: 1.824 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3523, allocations: 3.984 kB / 343.6 MB, free: 1.82 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.3528, allocations: 462.5 kB / 344.1 MB, free: 1.32 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3529, allocations: 0 / 344.1 MB, free: 1.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.3532, allocations: 67.89 kB / 344.1 MB, free: 1.254 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.3543, allocations: 349.3 kB / 344.5 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.3543, allocations: 4 kB / 344.5 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.3555, allocations: 1.386 MB / 345.8 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3556, allocations: 0 / 345.8 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.358, allocations: 1.125 MB / 347 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.763e-05/0.3581, allocations: 116.7 kB / 347.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.812e-05/0.3582, allocations: 12 kB / 347.1 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.3585, allocations: 59.95 kB / 347.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.3586, allocations: 31.91 kB / 347.2 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.3587, allocations: 12 kB / 347.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002189/0.3589, allocations: 189.9 kB / 347.4 MB, free: 13.88 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3589, allocations: 0 / 347.4 MB, free: 13.88 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004433/0.3593, allocations: 107.8 kB / 347.5 MB, free: 13.78 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.0001883/0.3595, allocations: 115.5 kB / 347.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.3608, allocations: 0.5071 MB / 348.1 MB, free: 13.15 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3609, allocations: 4 kB / 348.1 MB, free: 13.14 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005769/0.3614, allocations: 276 kB / 348.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.3619, allocations: 44.53 kB / 348.4 MB, free: 12.83 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.3636, allocations: 1.069 MB / 349.5 MB, free: 11.74 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.3639, allocations: 0.7959 MB / 350.3 MB, free: 10.91 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.3641, allocations: 30.97 kB / 350.3 MB, free: 10.88 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.3642, allocations: 19.44 kB / 350.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3642, allocations: 0 / 350.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of Templates: time 0.009513/0.3737, allocations: 5.215 MB / 355.6 MB, free: 5.645 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (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)