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.001641/0.001642, 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.002234/0.002234, allocations: 190.1 kB / 16.25 MB, free: 6.633 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.82/1.82, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.001444/0.001444, allocations: 55.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2406, allocations: 46.62 MB / 324.8 MB, free: 1.906 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003636/0.2443, allocations: 3.132 MB / 328 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.2457, allocations: 0.8274 MB / 328.8 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.2458, allocations: 4.719 kB / 328.8 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.246, allocations: 49.09 kB / 328.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.2462, allocations: 91.72 kB / 328.9 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.2466, allocations: 125.4 kB / 329.1 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004535/0.247, allocations: 0.5322 MB / 329.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.2473, allocations: 164 kB / 329.8 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.2476, allocations: 224.6 kB / 330 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.2479, allocations: 249.2 kB / 330.2 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.28e-05/0.248, allocations: 50.25 kB / 330.3 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.2481, allocations: 58.22 kB / 330.3 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.619e-05/0.2482, allocations: 111.9 kB / 330.4 MB, free: 13.69 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.2484, allocations: 242.9 kB / 330.7 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000508/0.2489, allocations: 0.5413 MB / 331.2 MB, free: 13.1 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.2489, allocations: 5.125 kB / 331.2 MB, free: 13.09 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2489, allocations: 0 / 331.2 MB, free: 13.09 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.2489, allocations: 0 / 331.2 MB, free: 13.09 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.001523/0.2505, allocations: 0.7882 MB / 332 MB, free: 12.46 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2505, allocations: 10.12 kB / 332 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.2506, allocations: 48.41 kB / 332.1 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.251, allocations: 304.3 kB / 332.4 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/0.251, allocations: 28.94 kB / 332.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.317e-05/0.2511, allocations: 35.38 kB / 332.4 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.2522, allocations: 0.5028 MB / 332.9 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.2522, allocations: 1.281 kB / 332.9 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.2522, allocations: 15.5 kB / 332.9 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.2523, allocations: 8.625 kB / 333 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.2535, allocations: 0.5088 MB / 333.5 MB, free: 11.34 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.002414/0.2559, allocations: 1.659 MB / 335.1 MB, free: 9.539 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.2569, allocations: 431.6 kB / 335.5 MB, free: 9.109 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/0.2574, allocations: 237.4 kB / 335.8 MB, free: 8.875 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.2575, allocations: 12.3 kB / 335.8 MB, free: 8.863 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.2575, allocations: 38.89 kB / 335.8 MB, free: 8.816 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 3.015e-06/0.2575, allocations: 0 / 335.8 MB, free: 8.816 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.004824/0.2624, allocations: 1.368 MB / 337.2 MB, free: 7.398 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.2625, allocations: 162.2 kB / 337.4 MB, free: 7.203 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.2628, allocations: 267 kB / 337.6 MB, free: 6.938 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.2628, allocations: 29.7 kB / 337.6 MB, free: 6.902 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.2629, allocations: 212.3 kB / 337.8 MB, free: 6.691 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.555e-05/0.263, allocations: 138 kB / 338 MB, free: 6.555 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.2632, allocations: 78.12 kB / 338.1 MB, free: 6.469 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2633, allocations: 342.8 kB / 338.4 MB, free: 6.125 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004881/0.2638, allocations: 176.8 kB / 338.6 MB, free: 5.953 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005382/0.2644, allocations: 286.5 kB / 338.8 MB, free: 5.641 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009496/0.2653, allocations: 430.5 kB / 339.3 MB, free: 5.195 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2653, allocations: 0 / 339.3 MB, free: 5.195 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001739/0.2671, allocations: 0.678 MB / 339.9 MB, free: 4.504 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.2671, allocations: 8 kB / 340 MB, free: 4.496 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2671, allocations: 0 / 340 MB, free: 4.496 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.2684, allocations: 325.4 kB / 340.3 MB, free: 4.172 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.2688, allocations: 79.88 kB / 340.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.2699, allocations: 1.343 MB / 341.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.2704, allocations: 79.62 kB / 341.8 MB, free: 2.621 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.2705, allocations: 19.98 kB / 341.8 MB, free: 2.602 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.0002038/0.2707, allocations: 165.7 kB / 342 MB, free: 2.43 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.2708, allocations: 31.62 kB / 342 MB, free: 2.398 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.2728, allocations: 0.7237 MB / 342.7 MB, free: 1.66 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2728, allocations: 8.031 kB / 342.7 MB, free: 1.652 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2728, allocations: 0 / 342.7 MB, free: 1.652 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.2728, allocations: 3.984 kB / 342.7 MB, free: 1.648 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.2733, allocations: 465 kB / 343.2 MB, free: 1.145 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2734, allocations: 0 / 343.2 MB, free: 1.145 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.2736, allocations: 67.89 kB / 343.2 MB, free: 1.078 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/0.2748, allocations: 321.4 kB / 343.6 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.2748, allocations: 12.17 kB / 343.6 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.276, allocations: 1.355 MB / 344.9 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.276, allocations: 3.938 kB / 344.9 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.2783, allocations: 1.019 MB / 345.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.291e-05/0.2784, allocations: 108.6 kB / 346 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/0.2785, allocations: 12 kB / 346.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.2788, allocations: 48 kB / 346.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.2789, allocations: 23.97 kB / 346.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.2789, allocations: 15.94 kB / 346.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.2791, allocations: 189.9 kB / 346.3 MB, free: 13.88 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2792, allocations: 0 / 346.3 MB, free: 13.88 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004213/0.2796, allocations: 107.8 kB / 346.4 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 (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.0002/0.2798, allocations: 123.1 kB / 346.6 MB, free: 13.65 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.281, allocations: 476.2 kB / 347 MB, free: 13.18 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.281, allocations: 4 kB / 347 MB, free: 13.18 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005505/0.2816, allocations: 263.8 kB / 347.3 MB, free: 12.92 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.2821, allocations: 47.45 kB / 347.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.2838, allocations: 1.023 MB / 348.4 MB, free: 11.83 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.2842, allocations: 0.7917 MB / 349.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.2843, allocations: 30.97 kB / 349.2 MB, free: 10.98 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.2844, allocations: 27.44 kB / 349.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2844, allocations: 0 / 349.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of Templates: time 0.00991/0.2943, allocations: 5.778 MB / 355 MB, free: 5.164 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)