Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001606/0.001606, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001442/0.001442, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 8 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.1788/0.1788, allocations: 38.52 MB / 353.2 MB, free: 12.55 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.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [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.002139/0.002139, allocations: 67.89 kB / 493.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3034, allocations: 62.47 MB / 0.5432 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005976/0.3094, allocations: 4.064 MB / 0.5472 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.3111, allocations: 0.9169 MB / 0.5481 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.3113, allocations: 18.56 kB / 0.5481 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.3115, allocations: 39.89 kB / 0.5482 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005539/0.3121, allocations: 177 kB / 0.5483 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.3123, allocations: 78.64 kB / 0.5484 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005011/0.3128, allocations: 376.7 kB / 0.5488 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.313, allocations: 57.12 kB / 0.5488 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/0.3134, allocations: 179.7 kB / 0.549 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.3137, allocations: 172.4 kB / 0.5491 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.3137, allocations: 21.03 kB / 0.5492 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.547e-05/0.3138, allocations: 16.28 kB / 0.5492 GB, free: 12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.3139, allocations: 78.2 kB / 0.5493 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.314, allocations: 128.8 kB / 0.5494 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.3144, allocations: 261.9 kB / 0.5496 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3144, allocations: 0 / 0.5496 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.3144, allocations: 3.984 kB / 0.5496 GB, free: 11.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.3144, allocations: 1.031 kB / 0.5496 GB, free: 11.7 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008969/0.3153, allocations: 0.4912 MB / 0.5501 GB, free: 11.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.3153, allocations: 13.58 kB / 0.5501 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.3154, allocations: 30.38 kB / 0.5502 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.3159, allocations: 267.9 kB / 0.5504 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.3159, allocations: 16.38 kB / 0.5504 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.3159, allocations: 20.88 kB / 0.5504 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.3163, allocations: 271.1 kB / 0.5507 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3164, allocations: 4.844 kB / 0.5507 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.3164, allocations: 6.688 kB / 0.5507 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3164, allocations: 5.625 kB / 0.5507 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/0.3166, allocations: 168 kB / 0.5509 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.3179, allocations: 1.148 MB / 0.552 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.318, allocations: 68.77 kB / 0.5521 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.3181, allocations: 28.56 kB / 0.5521 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.3181, allocations: 9.547 kB / 0.5521 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.3181, allocations: 39.91 kB / 0.5521 GB, free: 9.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.3181, allocations: 0 / 0.5521 GB, free: 9.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006466/0.3188, allocations: 336.6 kB / 0.5525 GB, free: 9.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.3188, allocations: 79.36 kB / 0.5525 GB, free: 9.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.3191, allocations: 252.5 kB / 0.5528 GB, free: 8.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3191, allocations: 25.83 kB / 0.5528 GB, free: 8.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.3192, allocations: 191.7 kB / 0.553 GB, free: 8.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.3193, allocations: 28.66 kB / 0.553 GB, free: 8.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.3193, allocations: 47.23 kB / 0.5531 GB, free: 8.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3195, allocations: 331.2 kB / 0.5534 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.228e-05/0.3195, allocations: 27.73 kB / 0.5534 GB, free: 8.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.3197, allocations: 119.8 kB / 0.5535 GB, free: 8.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.3199, allocations: 173.9 kB / 0.5537 GB, free: 8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3199, allocations: 1.469 kB / 0.5537 GB, free: 8 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002641/0.3201, allocations: 185.6 kB / 0.5539 GB, free: 7.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3202, allocations: 6.75 kB / 0.5539 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3202, allocations: 11 kB / 0.5539 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3202, allocations: 4.406 kB / 0.5539 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.3203, allocations: 40.34 kB / 0.5539 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3203, allocations: 8.375 kB / 0.5539 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.611e-05/0.3204, allocations: 8.406 kB / 0.5539 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3204, allocations: 9.188 kB / 0.5539 GB, free: 7.867 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (22): * Single equations (assignments): 22 * 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.0001399/0.3206, allocations: 149.3 kB / 0.5541 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.3206, allocations: 21.7 kB / 0.5541 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.3208, allocations: 92.86 kB / 0.5542 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3208, allocations: 6.516 kB / 0.5542 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3208, allocations: 0 / 0.5542 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.3208, allocations: 5.312 kB / 0.5542 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.3213, allocations: 399.9 kB / 0.5546 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3213, allocations: 1 kB / 0.5546 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.933e-05/0.3214, allocations: 13.16 kB / 0.5546 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.3214, allocations: 14.48 kB / 0.5546 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.3214, allocations: 1.344 kB / 0.5546 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3214, allocations: 1.219 kB / 0.5546 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3214, allocations: 0 / 0.5546 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.3217, allocations: 236 kB / 0.5548 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.3217, allocations: 18.59 kB / 0.5549 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.3217, allocations: 1.125 kB / 0.5549 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.3218, allocations: 5.062 kB / 0.5549 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.3218, allocations: 7.234 kB / 0.5549 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.3218, allocations: 2.156 kB / 0.5549 GB, free: 7.031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.322, allocations: 168.3 kB / 0.555 GB, free: 6.914 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.322, allocations: 1.094 kB / 0.555 GB, free: 6.914 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003029/0.3223, allocations: 39.66 kB / 0.5551 GB, free: 6.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0001126/0.3224, allocations: 99.83 kB / 0.5552 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.3226, allocations: 82.44 kB / 0.5553 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3226, allocations: 0 / 0.5553 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.052e-05/0.3227, allocations: 33.58 kB / 0.5553 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.3231, allocations: 63.62 kB / 0.5553 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000915/0.324, allocations: 0.5326 MB / 0.5559 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.3244, allocations: 0.7584 MB / 0.5566 GB, free: 5.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.3245, allocations: 20.41 kB / 0.5566 GB, free: 5.586 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3245, allocations: 0 / 0.5566 GB, free: 5.586 MB / 398.1 MB Notification: Performance of Templates: time 0.004882/0.3294, allocations: 2.687 MB / 0.5592 GB, free: 3.504 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.381934426957741] Failed to read output from testmodel.py, exit status != 0: 0.3378708572126925 0.35219861900000005 0.034717358000000004 Calling exit ...