Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1915/0.1915, allocations: 38.56 MB / 353.2 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 71.89 kB / 493.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3691, allocations: 62.46 MB / 0.5431 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.008056/0.3771, allocations: 5.834 MB / 0.5488 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003779/0.3809, allocations: 1.877 MB / 0.5507 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003229/0.3812, allocations: 30.28 kB / 0.5507 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001882/0.3831, allocations: 0.678 MB / 0.5514 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009325/0.384, allocations: 379.9 kB / 0.5517 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.3852, allocations: 411.5 kB / 0.5521 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.3864, allocations: 0.9401 MB / 0.553 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005923/0.387, allocations: 390.4 kB / 0.5534 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006774/0.3877, allocations: 454.3 kB / 0.5538 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007639/0.3885, allocations: 0.537 MB / 0.5544 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.29e-05/0.3886, allocations: 57.75 kB / 0.5544 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000522/0.3891, allocations: 259.3 kB / 0.5547 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004263/0.3895, allocations: 426.1 kB / 0.5551 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004103/0.3899, allocations: 353 kB / 0.5554 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.3912, allocations: 1.038 MB / 0.5564 GB, free: 6.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3912, allocations: 4 kB / 0.5564 GB, free: 6.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3912, allocations: 0 / 0.5564 GB, free: 6.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.3912, allocations: 4 kB / 0.5564 GB, free: 6.57 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001889/0.3931, allocations: 1.015 MB / 0.5574 GB, free: 5.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3931, allocations: 15.98 kB / 0.5574 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.3942, allocations: 208.2 kB / 0.5576 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.3952, allocations: 490.1 kB / 0.5581 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/0.3953, allocations: 58.38 kB / 0.5582 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.3954, allocations: 80.12 kB / 0.5582 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.397, allocations: 1.126 MB / 0.5593 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.3971, allocations: 7.938 kB / 0.5593 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.846e-05/0.3972, allocations: 40 kB / 0.5594 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.236e-05/0.3972, allocations: 53.97 kB / 0.5594 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.3986, allocations: 0.8545 MB / 0.5603 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005774/0.4044, allocations: 4.722 MB / 0.5649 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/0.4051, allocations: 385.3 kB / 0.5652 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.4054, allocations: 197.6 kB / 0.5654 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.4054, allocations: 11.94 kB / 0.5654 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.4055, allocations: 34.56 kB / 0.5655 GB, free: 12.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.515e-06/0.4055, allocations: 0 / 0.5655 GB, free: 12.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.001956/0.4074, allocations: 1.085 MB / 0.5665 GB, free: 11.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.4075, allocations: 81.11 kB / 0.5666 GB, free: 11.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005467/0.408, allocations: 0.4897 MB / 0.5671 GB, free: 11.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.4081, allocations: 29.7 kB / 0.5671 GB, free: 11.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.4084, allocations: 471.2 kB / 0.5676 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.4086, allocations: 162.6 kB / 0.5677 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.4088, allocations: 162.5 kB / 0.5679 GB, free: 10.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.409, allocations: 362.8 kB / 0.5682 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.4093, allocations: 237.8 kB / 0.5685 GB, free: 9.781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007536/0.4101, allocations: 0.6208 MB / 0.5691 GB, free: 8.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.4113, allocations: 0.9377 MB / 0.57 GB, free: 7.859 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.4113, allocations: 4 kB / 0.57 GB, free: 7.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001404/0.4128, allocations: 0.9002 MB / 0.5709 GB, free: 6.949 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.4128, allocations: 8 kB / 0.5709 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.4128, allocations: 16 kB / 0.5709 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-05/0.4128, allocations: 16 kB / 0.5709 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007471/0.4136, allocations: 223.6 kB / 0.5711 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.812e-05/0.4136, allocations: 23.94 kB / 0.5711 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.4141, allocations: 56.12 kB / 0.5712 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/0.4141, allocations: 44 kB / 0.5712 GB, free: 6.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003947/0.4145, allocations: 309.6 kB / 0.5715 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.984e-05/0.4146, allocations: 51.67 kB / 0.5716 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009939/0.4156, allocations: 0.56 MB / 0.5721 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.4156, allocations: 4 kB / 0.5721 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.4156, allocations: 7.938 kB / 0.5721 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4156, allocations: 3.984 kB / 0.5721 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.4177, allocations: 1.153 MB / 0.5733 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.4177, allocations: 4 kB / 0.5733 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/0.4182, allocations: 107.8 kB / 0.5734 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.4182, allocations: 4 kB / 0.5734 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.4182, allocations: 15.98 kB / 0.5734 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/0.4182, allocations: 11.94 kB / 0.5734 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4182, allocations: 8.25 kB / 0.5734 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008554/0.4191, allocations: 0.6421 MB / 0.574 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.4192, allocations: 51.62 kB / 0.5741 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.4193, allocations: 12 kB / 0.5741 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.4195, allocations: 27.91 kB / 0.5741 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.4196, allocations: 39.66 kB / 0.5742 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.4196, allocations: 16 kB / 0.5742 GB, free: 3.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003576/0.42, allocations: 311.1 kB / 0.5745 GB, free: 3.125 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.42, allocations: 0 / 0.5745 GB, free: 3.125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007183/0.4207, allocations: 160 kB / 0.5746 GB, free: 2.969 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001401/0.4208, allocations: 115.1 kB / 0.5747 GB, free: 2.844 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009659/0.4218, allocations: 0.5798 MB / 0.5753 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4218, allocations: 0 / 0.5753 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.4221, allocations: 221.3 kB / 0.5755 GB, free: 2.051 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006715/0.4228, allocations: 124.6 kB / 0.5756 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.4251, allocations: 1.448 MB / 0.577 GB, free: 432 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.4256, allocations: 410.8 kB / 0.5774 GB, free: 16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.4258, allocations: 59.42 kB / 0.5775 GB, free: 15.94 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4258, allocations: 0 / 0.5775 GB, free: 15.94 MB / 430.1 MB Notification: Performance of Templates: time 0.01403/0.4398, allocations: 8.626 MB / 0.5859 GB, free: 7.32 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.782354398164898] Failed to read output from testmodel.py, exit status != 0: 0.4490206791087985 0.463258521 0.06887196100000001 Calling exit ...