Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.001841/0.001841, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.0023/0.0023, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.473/1.473, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.1767/0.1767, allocations: 29.42 MB / 290.7 MB, free: 3.266 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.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") [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.002336/0.002336, allocations: 67.91 kB / 431.2 MB, free: 3.219 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3718, allocations: 62.44 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003751/0.3755, allocations: 3.426 MB / 497 MB, free: 35.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3771, allocations: 1.381 MB / 498.4 MB, free: 34.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.324e-05/0.3772, allocations: 14.31 kB / 498.4 MB, free: 34.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006668/0.3779, allocations: 238.6 kB / 498.7 MB, free: 34.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004423/0.3783, allocations: 287.2 kB / 499 MB, free: 34.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.3785, allocations: 111.2 kB / 499.1 MB, free: 34.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002606/0.3788, allocations: 333.7 kB / 499.4 MB, free: 34.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.379, allocations: 122.5 kB / 499.5 MB, free: 33.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.3792, allocations: 172.7 kB / 499.7 MB, free: 33.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.3794, allocations: 152.8 kB / 499.8 MB, free: 33.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.3794, allocations: 16.53 kB / 499.8 MB, free: 33.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.3797, allocations: 263.2 kB / 0.4884 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.3798, allocations: 101.2 kB / 0.4885 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.707e-05/0.3799, allocations: 91.3 kB / 0.4886 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.3802, allocations: 338.9 kB / 0.4889 GB, free: 33.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3802, allocations: 0 / 0.4889 GB, free: 33.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3802, allocations: 4 kB / 0.4889 GB, free: 33.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3803, allocations: 0 / 0.4889 GB, free: 33.54 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.0005211/0.3808, allocations: 450.3 kB / 0.4893 GB, free: 33.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.3808, allocations: 17.23 kB / 0.4893 GB, free: 33.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008122/0.3816, allocations: 97.47 kB / 0.4894 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.3819, allocations: 200.9 kB / 0.4896 GB, free: 32.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3819, allocations: 17.97 kB / 0.4896 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.3819, allocations: 29.03 kB / 0.4897 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.3823, allocations: 317.5 kB / 0.49 GB, free: 32.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3823, allocations: 0 / 0.49 GB, free: 32.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.3823, allocations: 7.25 kB / 0.49 GB, free: 32.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.3824, allocations: 20.22 kB / 0.49 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.3827, allocations: 286.2 kB / 0.4903 GB, free: 32.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.3839, allocations: 1.169 MB / 0.4914 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.3844, allocations: 202 kB / 0.4916 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.995e-05/0.3844, allocations: 54.23 kB / 0.4917 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3845, allocations: 7.125 kB / 0.4917 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.3845, allocations: 45.39 kB / 0.4917 GB, free: 31.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3845, allocations: 0 / 0.4917 GB, free: 31.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007696/0.3853, allocations: 360.9 kB / 0.492 GB, free: 31.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.3853, allocations: 84.58 kB / 0.4921 GB, free: 31.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.3854, allocations: 189.2 kB / 0.4923 GB, free: 31.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.3854, allocations: 29.7 kB / 0.4923 GB, free: 31.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.3855, allocations: 163.2 kB / 0.4925 GB, free: 31.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.3855, allocations: 53.36 kB / 0.4925 GB, free: 30.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.3856, allocations: 40.5 kB / 0.4926 GB, free: 30.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.3856, allocations: 328.7 kB / 0.4929 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.3857, allocations: 54.78 kB / 0.4929 GB, free: 30.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.3858, allocations: 149.4 kB / 0.4931 GB, free: 30.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.386, allocations: 234.2 kB / 0.4933 GB, free: 30.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.386, allocations: 3.938 kB / 0.4933 GB, free: 30.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003496/0.3863, allocations: 251.5 kB / 0.4936 GB, free: 30.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3863, allocations: 9.562 kB / 0.4936 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3863, allocations: 7.156 kB / 0.4936 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/0.3865, allocations: 41 kB / 0.4936 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.3867, allocations: 42.8 kB / 0.4937 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000713/0.3874, allocations: 1.307 MB / 0.4949 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.3875, allocations: 13.91 kB / 0.4949 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.3875, allocations: 13.06 kB / 0.495 GB, free: 28.88 MB / 446.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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.792e-05/0.3876, allocations: 156.4 kB / 0.4951 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.3876, allocations: 17.41 kB / 0.4951 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.3879, allocations: 190.2 kB / 0.4953 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3879, allocations: 3.156 kB / 0.4953 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.3879, allocations: 0 / 0.4953 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3879, allocations: 0 / 0.4953 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005963/0.3885, allocations: 497.6 kB / 0.4958 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3885, allocations: 0 / 0.4958 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.3886, allocations: 25.19 kB / 0.4958 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/0.3887, allocations: 31.69 kB / 0.4958 GB, free: 28.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3888, allocations: 7.219 kB / 0.4958 GB, free: 28.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006578/0.3894, allocations: 1.308 MB / 0.4971 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3894, allocations: 3.406 kB / 0.4971 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.3897, allocations: 296.5 kB / 0.4974 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.3897, allocations: 14.22 kB / 0.4974 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.3897, allocations: 7.219 kB / 0.4974 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.3898, allocations: 6.578 kB / 0.4974 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.3899, allocations: 14.62 kB / 0.4974 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.3899, allocations: 10.28 kB / 0.4975 GB, free: 26.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.995e-05/0.39, allocations: 134.8 kB / 0.4976 GB, free: 26.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.39, allocations: 3.094 kB / 0.4976 GB, free: 26.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003416/0.3903, allocations: 47.16 kB / 0.4976 GB, free: 26.65 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.217e-05/0.3904, allocations: 103.9 kB / 0.4977 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003682/0.3907, allocations: 259.1 kB / 0.498 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3907, allocations: 0 / 0.498 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.3909, allocations: 174.7 kB / 0.4981 GB, free: 26.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.3913, allocations: 40.3 kB / 0.4982 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006089/0.3919, allocations: 455.2 kB / 0.4986 GB, free: 25.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.392, allocations: 148.2 kB / 0.4988 GB, free: 25.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.715e-05/0.3921, allocations: 41.91 kB / 0.4988 GB, free: 25.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.3921, allocations: 14.88 kB / 0.4988 GB, free: 25.86 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3921, allocations: 0 / 0.4988 GB, free: 25.86 MB / 446.1 MB Notification: Performance of Templates: time 0.004148/0.3962, allocations: 1.599 MB / 0.5004 GB, free: 25.64 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.058050673920661] Failed to read output from testmodel.py, exit status != 0: 0.4049989329650998 0.41399820600000004 0.031304724 Calling exit ...