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.001279/0.001279, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 194.4 kB / 16.53 MB, free: 6.66 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.486/1.486, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001205/0.001205, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2272, allocations: 46.63 MB / 325.3 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003813/0.2311, allocations: 3.101 MB / 328.4 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.2325, allocations: 0.8236 MB / 329.2 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.2327, allocations: 5.344 kB / 329.2 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.2328, allocations: 56.59 kB / 329.3 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.233, allocations: 118.8 kB / 329.4 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.2334, allocations: 142.1 kB / 329.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.2339, allocations: 0.5317 MB / 330.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.2342, allocations: 172.4 kB / 330.2 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.2345, allocations: 215.8 kB / 330.5 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.2348, allocations: 253.3 kB / 330.7 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.33e-05/0.2348, allocations: 58.91 kB / 330.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.235, allocations: 57.78 kB / 330.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-05/0.2351, allocations: 107.6 kB / 330.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.2353, allocations: 243.5 kB / 331.2 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005035/0.2358, allocations: 0.5412 MB / 331.7 MB, free: 13.02 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2358, allocations: 1.188 kB / 331.7 MB, free: 13.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2358, allocations: 0 / 331.7 MB, free: 13.02 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.2358, allocations: 0 / 331.7 MB, free: 13.02 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.001551/0.2374, allocations: 0.7877 MB / 332.5 MB, free: 12.38 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.2374, allocations: 9.25 kB / 332.5 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.2375, allocations: 49.22 kB / 332.5 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.2379, allocations: 304.3 kB / 332.8 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.238, allocations: 29.28 kB / 332.9 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.149e-05/0.2381, allocations: 35.44 kB / 332.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.2392, allocations: 0.5079 MB / 333.4 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.2392, allocations: 0 / 333.4 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.566e-05/0.2392, allocations: 20 kB / 333.4 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.2393, allocations: 8 kB / 333.4 MB, free: 11.65 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.2405, allocations: 0.4957 MB / 333.9 MB, free: 11.16 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.002515/0.2431, allocations: 1.682 MB / 335.6 MB, free: 9.332 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.2442, allocations: 419.6 kB / 336 MB, free: 8.914 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005135/0.2447, allocations: 245.4 kB / 336.3 MB, free: 8.672 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.2447, allocations: 4.328 kB / 336.3 MB, free: 8.668 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.2448, allocations: 46.83 kB / 336.3 MB, free: 8.613 MB / 270.1 MB Notification: Performance of pre-optimization done (n=40): time 2.235e-06/0.2448, allocations: 0 / 336.3 MB, free: 8.613 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.004775/0.2496, allocations: 1.364 MB / 337.7 MB, free: 7.199 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/0.2497, allocations: 162.2 kB / 337.8 MB, free: 7.004 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.25, allocations: 271 kB / 338.1 MB, free: 6.73 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.2501, allocations: 33.7 kB / 338.1 MB, free: 6.691 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.2502, allocations: 208.3 kB / 338.3 MB, free: 6.484 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2503, allocations: 130 kB / 338.5 MB, free: 6.355 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.2505, allocations: 78.12 kB / 338.5 MB, free: 6.27 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2506, allocations: 342.8 kB / 338.9 MB, free: 5.926 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.2511, allocations: 180.8 kB / 339.1 MB, free: 5.75 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/0.2517, allocations: 282.5 kB / 339.3 MB, free: 5.441 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009538/0.2526, allocations: 430.5 kB / 339.8 MB, free: 4.996 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2527, allocations: 0 / 339.8 MB, free: 4.996 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00184/0.2545, allocations: 0.678 MB / 340.4 MB, free: 4.305 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.2545, allocations: 7.984 kB / 340.4 MB, free: 4.297 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.2546, allocations: 4 kB / 340.4 MB, free: 4.293 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/0.2559, allocations: 321.4 kB / 340.8 MB, free: 3.973 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.2562, allocations: 83.88 kB / 340.8 MB, free: 3.891 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.2575, allocations: 1.339 MB / 342.2 MB, free: 2.5 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.2579, allocations: 75.53 kB / 342.3 MB, free: 2.426 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.258, allocations: 19.98 kB / 342.3 MB, free: 2.406 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.0002113/0.2582, allocations: 161.8 kB / 342.4 MB, free: 2.238 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.2583, allocations: 35.56 kB / 342.5 MB, free: 2.203 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.2604, allocations: 0.7277 MB / 343.2 MB, free: 1.461 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.2604, allocations: 4 kB / 343.2 MB, free: 1.457 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2604, allocations: 4 kB / 343.2 MB, free: 1.453 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.2604, allocations: 7.984 kB / 343.2 MB, free: 1.445 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005921/0.261, allocations: 457 kB / 343.7 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.261, allocations: 0 / 343.7 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.2613, allocations: 63.89 kB / 343.7 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.2625, allocations: 321.4 kB / 344 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.2625, allocations: 12 kB / 344 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.2637, allocations: 1.358 MB / 345.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2637, allocations: 0 / 345.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.2663, allocations: 1.027 MB / 346.4 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.2664, allocations: 108.6 kB / 346.5 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.2664, allocations: 8 kB / 346.5 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.2668, allocations: 51.88 kB / 346.6 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.2669, allocations: 20.16 kB / 346.6 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.2669, allocations: 12 kB / 346.6 MB, free: 13.88 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000234/0.2672, allocations: 201.9 kB / 346.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2672, allocations: 0 / 346.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004448/0.2676, allocations: 103.8 kB / 346.9 MB, free: 13.58 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.0001663/0.2678, allocations: 111.1 kB / 347 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.2691, allocations: 491.5 kB / 347.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2691, allocations: 0 / 347.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005828/0.2697, allocations: 256.2 kB / 347.8 MB, free: 12.73 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.2702, allocations: 55.7 kB / 347.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.2719, allocations: 0.8672 MB / 348.7 MB, free: 11.79 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.2723, allocations: 0.7956 MB / 349.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.2724, allocations: 34.95 kB / 349.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.2725, allocations: 23.44 kB / 349.5 MB, free: 10.91 MB / 286.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2725, allocations: 0 / 349.5 MB, free: 10.91 MB / 286.1 MB Notification: Performance of Templates: time 0.01105/0.2835, allocations: 5.871 MB / 355.4 MB, free: 5.027 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)