Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.001774/0.001774, 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.001654/0.001654, 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.551/1.551, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.198/0.198, allocations: 38.53 MB / 353.2 MB, free: 12.54 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.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") [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.002031/0.002031, allocations: 63.91 kB / 493.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3157, allocations: 62.47 MB / 0.5432 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004827/0.3205, allocations: 3.57 MB / 0.5467 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.3227, allocations: 1.507 MB / 0.5482 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.3229, allocations: 10.19 kB / 0.5482 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008049/0.3237, allocations: 262.3 kB / 0.5484 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006229/0.3243, allocations: 283 kB / 0.5487 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.3246, allocations: 114.6 kB / 0.5488 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.3251, allocations: 338 kB / 0.5491 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.3253, allocations: 126.5 kB / 0.5493 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/0.3256, allocations: 160.3 kB / 0.5494 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.3259, allocations: 161.6 kB / 0.5496 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.3259, allocations: 14.41 kB / 0.5496 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005321/0.3265, allocations: 321.2 kB / 0.5499 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.3266, allocations: 102.8 kB / 0.55 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.3267, allocations: 109.2 kB / 0.5501 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.3272, allocations: 343.5 kB / 0.5504 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3272, allocations: 1.531 kB / 0.5504 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3272, allocations: 0 / 0.5504 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3272, allocations: 0 / 0.5504 GB, free: 11.14 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.0006637/0.3279, allocations: 452.4 kB / 0.5508 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3279, allocations: 13.77 kB / 0.5509 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008054/0.3287, allocations: 91.56 kB / 0.5509 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.3291, allocations: 209.6 kB / 0.5511 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3291, allocations: 11.22 kB / 0.5512 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.3291, allocations: 32.77 kB / 0.5512 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004776/0.3296, allocations: 319.3 kB / 0.5515 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3296, allocations: 5.625 kB / 0.5515 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.3296, allocations: 6.156 kB / 0.5515 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.3297, allocations: 20.44 kB / 0.5515 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.3301, allocations: 283.6 kB / 0.5518 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.3318, allocations: 1.246 MB / 0.553 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.3321, allocations: 158.4 kB / 0.5532 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.476e-05/0.3322, allocations: 47.08 kB / 0.5532 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.3322, allocations: 6.219 kB / 0.5532 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.3323, allocations: 35.77 kB / 0.5532 GB, free: 8.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.3323, allocations: 0 / 0.5532 GB, free: 8.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006114/0.3329, allocations: 307.1 kB / 0.5535 GB, free: 8.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.3329, allocations: 78.58 kB / 0.5536 GB, free: 8.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.3331, allocations: 192.5 kB / 0.5538 GB, free: 8.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3331, allocations: 29.7 kB / 0.5538 GB, free: 8.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3332, allocations: 172.1 kB / 0.554 GB, free: 8.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.3333, allocations: 50.05 kB / 0.554 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.697e-05/0.3334, allocations: 46.09 kB / 0.5541 GB, free: 8.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3335, allocations: 332.4 kB / 0.5544 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.043e-05/0.3336, allocations: 45.34 kB / 0.5544 GB, free: 7.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3337, allocations: 135.8 kB / 0.5546 GB, free: 7.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.334, allocations: 225.5 kB / 0.5548 GB, free: 7.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.334, allocations: 1.25 kB / 0.5548 GB, free: 7.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003183/0.3343, allocations: 224.9 kB / 0.555 GB, free: 7.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3343, allocations: 10.77 kB / 0.555 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3343, allocations: 3.656 kB / 0.555 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3343, allocations: 5.094 kB / 0.555 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.3345, allocations: 46.58 kB / 0.5551 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3345, allocations: 8.594 kB / 0.5551 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.772e-05/0.3346, allocations: 4.562 kB / 0.5551 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.3346, allocations: 18.08 kB / 0.5551 GB, free: 7.297 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 (25): * Single equations (assignments): 25 * 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.0001385/0.3348, allocations: 148.4 kB / 0.5552 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.3348, allocations: 19.97 kB / 0.5553 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.3351, allocations: 154.7 kB / 0.5554 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3351, allocations: 2.562 kB / 0.5554 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3351, allocations: 64 / 0.5554 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3351, allocations: 9.125 kB / 0.5554 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008601/0.3359, allocations: 0.64 MB / 0.556 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.336, allocations: 3.438 kB / 0.556 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.3361, allocations: 30.05 kB / 0.5561 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.3361, allocations: 7.719 kB / 0.5561 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3361, allocations: 13.64 kB / 0.5561 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.3361, allocations: 8.812 kB / 0.5561 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.3361, allocations: 11.38 kB / 0.5561 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.3364, allocations: 328 kB / 0.5564 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.3365, allocations: 21.53 kB / 0.5564 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.3365, allocations: 13.41 kB / 0.5565 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.3366, allocations: 7.234 kB / 0.5565 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.3367, allocations: 23.36 kB / 0.5565 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.3367, allocations: 7.875 kB / 0.5565 GB, free: 6.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.3368, allocations: 140 kB / 0.5566 GB, free: 5.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3368, allocations: 0 / 0.5566 GB, free: 5.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000351/0.3371, allocations: 51.78 kB / 0.5567 GB, free: 5.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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.0001003/0.3372, allocations: 101.4 kB / 0.5568 GB, free: 5.887 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.3375, allocations: 150 kB / 0.5569 GB, free: 5.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3375, allocations: 1.938 kB / 0.5569 GB, free: 5.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.25e-05/0.3376, allocations: 60.86 kB / 0.557 GB, free: 5.789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.338, allocations: 40.16 kB / 0.557 GB, free: 5.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008162/0.3388, allocations: 0.5223 MB / 0.5575 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.3392, allocations: 0.7671 MB / 0.5583 GB, free: 4.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.3393, allocations: 19.44 kB / 0.5583 GB, free: 4.383 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3393, allocations: 0 / 0.5583 GB, free: 4.383 MB / 398.1 MB Notification: Performance of Templates: time 0.004224/0.3435, allocations: 2.316 MB / 0.5606 GB, free: 2.062 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.413789794081822] Failed to read output from testmodel.py, exit status != 0: 0.35234176693484187 0.36566871399999995 0.03545437 Calling exit ...