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.001407/0.001407, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001574/0.001574, allocations: 168.6 kB / 24.5 MB, free: 3.453 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.435/1.435, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.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.1801/0.1801, allocations: 29.43 MB / 290.7 MB, free: 3.285 MB / 270.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.002086/0.002086, allocations: 63.91 kB / 431.2 MB, free: 3.254 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3703, allocations: 62.44 MB / 493.6 MB, free: 37.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.004471/0.3747, allocations: 3.456 MB / 497.1 MB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.3764, allocations: 1.426 MB / 498.5 MB, free: 34.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.3766, allocations: 10.38 kB / 498.5 MB, free: 34.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007238/0.3773, allocations: 251.4 kB / 498.8 MB, free: 34.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005489/0.3778, allocations: 277.9 kB / 499 MB, free: 34.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.3782, allocations: 129.9 kB / 499.2 MB, free: 34.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004199/0.3786, allocations: 340.1 kB / 499.5 MB, free: 34.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.3789, allocations: 127.1 kB / 499.6 MB, free: 33.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.3793, allocations: 161.3 kB / 499.8 MB, free: 33.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.3795, allocations: 159.7 kB / 499.9 MB, free: 33.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.3795, allocations: 16.69 kB / 499.9 MB, free: 33.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.3799, allocations: 277.9 kB / 0.4885 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.38, allocations: 106 kB / 0.4886 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.3801, allocations: 89.11 kB / 0.4887 GB, free: 33.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004121/0.3805, allocations: 353.9 kB / 0.489 GB, free: 33.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3806, allocations: 7.938 kB / 0.489 GB, free: 33.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3806, allocations: 0 / 0.489 GB, free: 33.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.3806, allocations: 0 / 0.489 GB, free: 33.5 MB / 446.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.0006268/0.3812, allocations: 457.2 kB / 0.4895 GB, free: 33.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3812, allocations: 13.36 kB / 0.4895 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00087/0.3821, allocations: 98.31 kB / 0.4896 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.3824, allocations: 208.5 kB / 0.4898 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.3824, allocations: 17.39 kB / 0.4898 GB, free: 32.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.3825, allocations: 13.66 kB / 0.4898 GB, free: 32.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.3829, allocations: 329.8 kB / 0.4901 GB, free: 32.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3829, allocations: 0 / 0.4901 GB, free: 32.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.3829, allocations: 11.14 kB / 0.4901 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.383, allocations: 16.28 kB / 0.4901 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.3833, allocations: 289.7 kB / 0.4904 GB, free: 32.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.3846, allocations: 1.151 MB / 0.4915 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.385, allocations: 216.3 kB / 0.4917 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.3851, allocations: 98.22 kB / 0.4918 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3852, allocations: 3.062 kB / 0.4918 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.3852, allocations: 41.22 kB / 0.4919 GB, free: 31.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.3852, allocations: 0 / 0.4919 GB, free: 31.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007089/0.3859, allocations: 437.1 kB / 0.4923 GB, free: 31.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.3859, allocations: 88.42 kB / 0.4924 GB, free: 31.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3861, allocations: 200.1 kB / 0.4926 GB, free: 31.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3861, allocations: 29.7 kB / 0.4926 GB, free: 31.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.3862, allocations: 159.3 kB / 0.4927 GB, free: 30.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3862, allocations: 60.62 kB / 0.4928 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/0.3863, allocations: 52.59 kB / 0.4929 GB, free: 30.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.12e-05/0.3863, allocations: 329.1 kB / 0.4932 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.3864, allocations: 90.98 kB / 0.4933 GB, free: 30.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.3865, allocations: 152.9 kB / 0.4934 GB, free: 30.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.3868, allocations: 267.4 kB / 0.4937 GB, free: 30.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3868, allocations: 0 / 0.4937 GB, free: 30.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003412/0.3872, allocations: 300.8 kB / 0.4939 GB, free: 30.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3872, allocations: 9.5 kB / 0.494 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3872, allocations: 2.625 kB / 0.494 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3872, allocations: 6.906 kB / 0.494 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.3874, allocations: 51.3 kB / 0.494 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.3874, allocations: 10.39 kB / 0.494 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.3876, allocations: 13.8 kB / 0.494 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.3876, allocations: 9.25 kB / 0.494 GB, free: 30.12 MB / 446.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.0001022/0.3877, allocations: 154.7 kB / 0.4942 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.3877, allocations: 25.56 kB / 0.4942 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.3881, allocations: 222.2 kB / 0.4944 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3881, allocations: 6.969 kB / 0.4944 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3881, allocations: 3.938 kB / 0.4944 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3881, allocations: 3.156 kB / 0.4944 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009735/0.389, allocations: 0.8652 MB / 0.4953 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.389, allocations: 3.031 kB / 0.4953 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.3892, allocations: 37.89 kB / 0.4953 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.3892, allocations: 5.844 kB / 0.4953 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3892, allocations: 10.03 kB / 0.4953 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.3892, allocations: 10.25 kB / 0.4953 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3892, allocations: 6.406 kB / 0.4954 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.3895, allocations: 414.4 kB / 0.4958 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.3895, allocations: 25.19 kB / 0.4958 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.3896, allocations: 3.281 kB / 0.4958 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.3897, allocations: 16.73 kB / 0.4958 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.3898, allocations: 25.53 kB / 0.4958 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.3898, allocations: 9.562 kB / 0.4958 GB, free: 28.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.835e-05/0.3899, allocations: 147.4 kB / 0.496 GB, free: 28.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3899, allocations: 0 / 0.496 GB, free: 28.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003683/0.3902, allocations: 52.78 kB / 0.496 GB, free: 28.82 MB / 446.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.0001235/0.3904, allocations: 103.8 kB / 0.4961 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003885/0.3908, allocations: 215.2 kB / 0.4963 GB, free: 28.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3908, allocations: 0 / 0.4963 GB, free: 28.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.3909, allocations: 99.75 kB / 0.4964 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.3914, allocations: 46.72 kB / 0.4965 GB, free: 28.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007502/0.3921, allocations: 0.5661 MB / 0.497 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.3922, allocations: 152.7 kB / 0.4972 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.3924, allocations: 52.55 kB / 0.4972 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.3924, allocations: 20.78 kB / 0.4972 GB, free: 28.1 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3924, allocations: 4 kB / 0.4972 GB, free: 28.1 MB / 446.1 MB Notification: Performance of Templates: time 0.004741/0.3972, allocations: 1.825 MB / 0.499 GB, free: 27.86 MB / 446.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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.783445522072725] Failed to read output from testmodel.py, exit status != 0: 0.4059712609741837 0.425126464 0.040395522 Calling exit ...