Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.00129/0.00129, 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.0014/0.0014, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.389/1.389, allocations: 230.6 MB / 258.3 MB, free: 7.961 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.1829/0.1829, allocations: 38.53 MB / 353.2 MB, free: 12.52 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.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") [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.002056/0.002056, allocations: 72.08 kB / 493.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.307, allocations: 62.47 MB / 0.5432 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005322/0.3123, allocations: 3.612 MB / 0.5467 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.3148, allocations: 1.549 MB / 0.5483 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.315, allocations: 12.75 kB / 0.5483 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009119/0.3159, allocations: 271.8 kB / 0.5485 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000735/0.3166, allocations: 278 kB / 0.5488 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.317, allocations: 126.8 kB / 0.5489 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004743/0.3175, allocations: 343.1 kB / 0.5492 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.3178, allocations: 122.4 kB / 0.5494 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.3181, allocations: 171.8 kB / 0.5495 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.3184, allocations: 162.9 kB / 0.5497 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.3184, allocations: 14.44 kB / 0.5497 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005883/0.319, allocations: 338.2 kB / 0.55 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.3191, allocations: 97.62 kB / 0.5501 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.3192, allocations: 105.2 kB / 0.5502 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005209/0.3198, allocations: 366.1 kB / 0.5506 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3198, allocations: 4 kB / 0.5506 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3198, allocations: 0 / 0.5506 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3198, allocations: 1.375 kB / 0.5506 GB, free: 11.02 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.00073/0.3205, allocations: 457.4 kB / 0.551 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3205, allocations: 17.23 kB / 0.551 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009163/0.3215, allocations: 95.03 kB / 0.5511 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.3218, allocations: 220.4 kB / 0.5513 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.3219, allocations: 15.53 kB / 0.5513 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.3219, allocations: 15.5 kB / 0.5513 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.3225, allocations: 325.8 kB / 0.5517 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3225, allocations: 5.25 kB / 0.5517 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.3225, allocations: 5.312 kB / 0.5517 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/0.3225, allocations: 17.72 kB / 0.5517 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.323, allocations: 285.4 kB / 0.552 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.325, allocations: 1.231 MB / 0.5532 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.3255, allocations: 224.3 kB / 0.5534 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.3257, allocations: 94.52 kB / 0.5535 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.3257, allocations: 2.625 kB / 0.5535 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.3257, allocations: 39.78 kB / 0.5535 GB, free: 8.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.3257, allocations: 1.062 kB / 0.5535 GB, free: 8.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009397/0.3267, allocations: 446.2 kB / 0.5539 GB, free: 8.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.3267, allocations: 83.38 kB / 0.554 GB, free: 8.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.327, allocations: 201.3 kB / 0.5542 GB, free: 8.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.327, allocations: 30.77 kB / 0.5542 GB, free: 8.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.3271, allocations: 164.2 kB / 0.5544 GB, free: 7.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.792e-05/0.3272, allocations: 63.5 kB / 0.5544 GB, free: 7.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.978e-05/0.3273, allocations: 44.33 kB / 0.5545 GB, free: 7.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3275, allocations: 331.3 kB / 0.5548 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.3276, allocations: 88.2 kB / 0.5549 GB, free: 7.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.3278, allocations: 164 kB / 0.555 GB, free: 7.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.3281, allocations: 267 kB / 0.5553 GB, free: 7.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3281, allocations: 0 / 0.5553 GB, free: 7.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004406/0.3286, allocations: 299 kB / 0.5556 GB, free: 7.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3286, allocations: 6.125 kB / 0.5556 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3286, allocations: 2.25 kB / 0.5556 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.3286, allocations: 7.438 kB / 0.5556 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.3289, allocations: 59.67 kB / 0.5557 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.3289, allocations: 3.375 kB / 0.5557 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.329, allocations: 11.48 kB / 0.5557 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.3291, allocations: 12.41 kB / 0.5557 GB, free: 7.016 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * Single equations (assignments): 27 * 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.0001574/0.3292, allocations: 157 kB / 0.5558 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.3293, allocations: 16.09 kB / 0.5558 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003906/0.3296, allocations: 237.1 kB / 0.5561 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3297, allocations: 2.094 kB / 0.5561 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3297, allocations: 4 kB / 0.5561 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3297, allocations: 1.062 kB / 0.5561 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.3311, allocations: 0.9252 MB / 0.557 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.3311, allocations: 4 kB / 0.557 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.3313, allocations: 43.91 kB / 0.557 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.3313, allocations: 4 kB / 0.557 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.3313, allocations: 8 kB / 0.557 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-06/0.3313, allocations: 7.938 kB / 0.557 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.3313, allocations: 8.438 kB / 0.5571 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.3318, allocations: 417 kB / 0.5575 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.3318, allocations: 19.91 kB / 0.5575 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.3318, allocations: 8 kB / 0.5575 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.332, allocations: 15.92 kB / 0.5575 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.332, allocations: 23.91 kB / 0.5575 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.3321, allocations: 15.94 kB / 0.5575 GB, free: 5.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.3322, allocations: 154.9 kB / 0.5577 GB, free: 5.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3322, allocations: 0 / 0.5577 GB, free: 5.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003779/0.3326, allocations: 56 kB / 0.5577 GB, free: 5.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.0001192/0.3327, allocations: 103.1 kB / 0.5578 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000385/0.3331, allocations: 216 kB / 0.558 GB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.3331, allocations: 4.125 kB / 0.558 GB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3332, allocations: 91.77 kB / 0.5581 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.3337, allocations: 42.78 kB / 0.5582 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.3347, allocations: 0.6106 MB / 0.5588 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.3352, allocations: 0.7632 MB / 0.5595 GB, free: 3.133 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.3353, allocations: 23.44 kB / 0.5595 GB, free: 3.109 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3353, allocations: 0 / 0.5595 GB, free: 3.109 MB / 398.1 MB Notification: Performance of Templates: time 0.004808/0.3401, allocations: 2.704 MB / 0.5622 GB, free: 408 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.290852155070752] Failed to read output from testmodel.py, exit status != 0: 0.34920419682748616 0.363511137 0.04061519 Calling exit ...