Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001486/0.001486, allocations: 113.8 kB / 17.06 MB, free: 6.004 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.001547/0.001547, allocations: 198.9 kB / 18 MB, free: 5.082 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.613/1.613, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.001233/0.001233, allocations: 47.94 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1334, allocations: 46.61 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005102/0.1386, allocations: 3.1 MB / 377.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.1404, allocations: 0.8314 MB / 378.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.1406, allocations: 4 kB / 378.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.1409, allocations: 67.31 kB / 378.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.1411, allocations: 107 kB / 378.6 MB, free: 448 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.1416, allocations: 147.7 kB / 378.7 MB, free: 300 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2942/0.4358, allocations: 0.529 MB / 379.3 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004471/0.4363, allocations: 162.8 kB / 379.4 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004696/0.4368, allocations: 217.5 kB / 379.6 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.4371, allocations: 256.8 kB / 379.9 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.304e-05/0.4372, allocations: 50.44 kB / 379.9 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.4374, allocations: 61.59 kB / 380 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.4375, allocations: 111.6 kB / 380.1 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.4378, allocations: 238.3 kB / 380.3 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009104/0.4387, allocations: 0.5458 MB / 380.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.4387, allocations: 0 / 380.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4387, allocations: 0 / 380.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.4388, allocations: 2.031 kB / 380.9 MB, free: 9.695 MB / 318.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.001777/0.4405, allocations: 0.7881 MB / 381.7 MB, free: 9.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.4406, allocations: 12.94 kB / 381.7 MB, free: 9.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.4408, allocations: 44.88 kB / 381.7 MB, free: 9.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.4413, allocations: 311.2 kB / 382 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.4413, allocations: 29.84 kB / 382.1 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.4414, allocations: 34.75 kB / 382.1 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.4428, allocations: 0.4998 MB / 382.6 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.4428, allocations: 4.531 kB / 382.6 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.4429, allocations: 17.94 kB / 382.6 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.4429, allocations: 8.688 kB / 382.6 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.4444, allocations: 0.5027 MB / 383.1 MB, free: 8.84 MB / 318.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.0029/0.4473, allocations: 1.662 MB / 384.8 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.4486, allocations: 425.6 kB / 385.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005971/0.4492, allocations: 241.5 kB / 385.4 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-05/0.4492, allocations: 17.28 kB / 385.5 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.4493, allocations: 36.77 kB / 385.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 3.096e-06/0.4493, allocations: 0 / 385.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.005295/0.4546, allocations: 1.371 MB / 386.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.4547, allocations: 159.6 kB / 387 MB, free: 6.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.4552, allocations: 270 kB / 387.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.4553, allocations: 32.11 kB / 387.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.4555, allocations: 202.7 kB / 387.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.4556, allocations: 145.8 kB / 387.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.4558, allocations: 78.83 kB / 387.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4559, allocations: 340.4 kB / 388.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006349/0.4566, allocations: 183.8 kB / 388.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007649/0.4573, allocations: 282.5 kB / 388.5 MB, free: 5.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.4585, allocations: 422.2 kB / 388.9 MB, free: 5.676 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4585, allocations: 1.781 kB / 388.9 MB, free: 5.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002252/0.4608, allocations: 0.6823 MB / 389.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.4608, allocations: 10.06 kB / 389.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.4608, allocations: 1.688 kB / 389.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.4623, allocations: 320.5 kB / 389.9 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.4627, allocations: 77.45 kB / 390 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.4639, allocations: 1.348 MB / 391.4 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.4645, allocations: 82.98 kB / 391.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.4645, allocations: 12.61 kB / 391.5 MB, free: 4.16 MB / 318.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.0003006/0.4648, allocations: 157.7 kB / 391.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.4649, allocations: 32.58 kB / 391.6 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/0.4676, allocations: 0.7373 MB / 392.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4677, allocations: 4.75 kB / 392.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.4677, allocations: 0.6562 kB / 392.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.4677, allocations: 1.781 kB / 392.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008339/0.4685, allocations: 467 kB / 392.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4685, allocations: 1.406 kB / 392.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.4689, allocations: 58.48 kB / 392.9 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.4702, allocations: 324.9 kB / 393.2 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.4703, allocations: 8.484 kB / 393.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.4714, allocations: 1.358 MB / 394.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4714, allocations: 1.094 kB / 394.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/0.4742, allocations: 1.016 MB / 395.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.4743, allocations: 115.8 kB / 395.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/0.4744, allocations: 7.094 kB / 395.7 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003921/0.4748, allocations: 45.14 kB / 395.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4749, allocations: 20.94 kB / 395.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.475, allocations: 14.06 kB / 395.8 MB, free: 1.621 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002616/0.4752, allocations: 197.9 kB / 396 MB, free: 1.504 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4752, allocations: 0 / 396 MB, free: 1.504 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005751/0.4758, allocations: 111.8 kB / 396.1 MB, free: 1.477 MB / 318.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.0002436/0.4761, allocations: 116.2 kB / 396.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.4778, allocations: 473.3 kB / 396.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4778, allocations: 0 / 396.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007012/0.4785, allocations: 255.9 kB / 396.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.479, allocations: 50.05 kB / 397 MB, free: 1.168 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.4812, allocations: 0.8581 MB / 397.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.4816, allocations: 0.7934 MB / 398.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001723/0.4818, allocations: 34.8 kB / 398.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.4819, allocations: 23.11 kB / 398.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4819, allocations: 0 / 398.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of Templates: time 0.01431/0.4962, allocations: 6.187 MB / 404.9 MB, free: 13.35 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1)