Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.001343/0.001343, allocations: 71.75 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.00214/0.00214, allocations: 169.2 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.563/1.563, allocations: 177.2 MB / 204.9 MB, free: 9.023 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.1783/0.1783, allocations: 29.43 MB / 290.7 MB, free: 3.312 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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [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.002174/0.002174, allocations: 67.89 kB / 431.2 MB, free: 3.262 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3832, allocations: 62.44 MB / 493.6 MB, free: 37.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.00527/0.3884, allocations: 4.755 MB / 498.4 MB, free: 34.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.3902, allocations: 1.245 MB / 499.6 MB, free: 33.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.3904, allocations: 21.75 kB / 499.7 MB, free: 33.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004457/0.3908, allocations: 116.1 kB / 499.8 MB, free: 33.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005756/0.3914, allocations: 336.9 kB / 0.4884 GB, free: 33.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.3918, allocations: 157.5 kB / 0.4885 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005875/0.3923, allocations: 0.7061 MB / 0.4892 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.3925, allocations: 107.3 kB / 0.4893 GB, free: 33.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.3929, allocations: 330.4 kB / 0.4896 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005636/0.3935, allocations: 452.5 kB / 0.4901 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.409e-05/0.3936, allocations: 45.06 kB / 0.4901 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3937, allocations: 45.16 kB / 0.4902 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.3939, allocations: 241.8 kB / 0.4904 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.3941, allocations: 245.9 kB / 0.4906 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005478/0.3947, allocations: 0.614 MB / 0.4912 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3947, allocations: 0 / 0.4912 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3947, allocations: 2.625 kB / 0.4912 GB, free: 32.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.3947, allocations: 0 / 0.4912 GB, free: 32.41 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001815/0.3965, allocations: 0.8864 MB / 0.4921 GB, free: 31.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3966, allocations: 12.61 kB / 0.4921 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.3967, allocations: 57.09 kB / 0.4922 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.3978, allocations: 0.5478 MB / 0.4927 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.3978, allocations: 29.03 kB / 0.4927 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.747e-05/0.3979, allocations: 40.41 kB / 0.4928 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/0.3986, allocations: 0.5484 MB / 0.4933 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3986, allocations: 3.938 kB / 0.4933 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.3987, allocations: 11.16 kB / 0.4933 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003046/0.399, allocations: 91.33 kB / 0.4934 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.3995, allocations: 356.9 kB / 0.4937 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.4017, allocations: 1.877 MB / 0.4956 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007625/0.4024, allocations: 373.6 kB / 0.4959 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004408/0.4029, allocations: 287.3 kB / 0.4962 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.4029, allocations: 3.031 kB / 0.4962 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.4029, allocations: 48.98 kB / 0.4962 GB, free: 29.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.923e-06/0.4029, allocations: 0 / 0.4962 GB, free: 29.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.003795/0.4067, allocations: 1.929 MB / 0.4981 GB, free: 29.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.4068, allocations: 84.17 kB / 0.4982 GB, free: 28.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.4071, allocations: 379 kB / 0.4986 GB, free: 28.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.4071, allocations: 32.92 kB / 0.4986 GB, free: 28.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.4073, allocations: 257.3 kB / 0.4989 GB, free: 28.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.649e-05/0.4073, allocations: 144.4 kB / 0.499 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.4075, allocations: 97.64 kB / 0.4991 GB, free: 28.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.4075, allocations: 366.4 kB / 0.4994 GB, free: 27.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.4078, allocations: 246.1 kB / 0.4997 GB, free: 27.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.4081, allocations: 357.6 kB / 0.5 GB, free: 27.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006644/0.4088, allocations: 0.6174 MB / 0.5006 GB, free: 27.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4088, allocations: 0 / 0.5006 GB, free: 27.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001485/0.4103, allocations: 1.003 MB / 0.5016 GB, free: 27.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.4103, allocations: 8.062 kB / 0.5016 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.4103, allocations: 6.312 kB / 0.5016 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009414/0.4113, allocations: 419.8 kB / 0.502 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.4115, allocations: 77.34 kB / 0.5021 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004281/0.4158, allocations: 4.85 MB / 0.5068 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/0.4162, allocations: 44.02 kB / 0.5069 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.4163, allocations: 23.22 kB / 0.5069 GB, free: 23.7 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002606/0.4165, allocations: 205.9 kB / 0.5071 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/0.4166, allocations: 40.77 kB / 0.5071 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.4179, allocations: 0.828 MB / 0.5079 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4179, allocations: 7.047 kB / 0.5079 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4179, allocations: 3 kB / 0.5079 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4179, allocations: 7.469 kB / 0.5079 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.4198, allocations: 1.291 MB / 0.5092 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4198, allocations: 0.5312 kB / 0.5092 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.42, allocations: 36.38 kB / 0.5092 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.4211, allocations: 443 kB / 0.5097 GB, free: 22.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.704e-05/0.4211, allocations: 36.12 kB / 0.5097 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004247/0.4254, allocations: 6.201 MB / 0.5157 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4254, allocations: 1.375 kB / 0.5157 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.4273, allocations: 1.113 MB / 0.5168 GB, free: 16.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.4274, allocations: 48.22 kB / 0.5169 GB, free: 16.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/0.4275, allocations: 27.62 kB / 0.5169 GB, free: 16.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.4278, allocations: 37.31 kB / 0.5169 GB, free: 16.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.4279, allocations: 43.58 kB / 0.517 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.428, allocations: 11.05 kB / 0.517 GB, free: 16.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003446/0.4283, allocations: 256.9 kB / 0.5172 GB, free: 16.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4283, allocations: 0 / 0.5172 GB, free: 16.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008416/0.4291, allocations: 157.2 kB / 0.5174 GB, free: 16.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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 0.0001637/0.4293, allocations: 117.8 kB / 0.5175 GB, free: 16.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.431, allocations: 0.8684 MB / 0.5184 GB, free: 16.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.431, allocations: 0 / 0.5184 GB, free: 16.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.4323, allocations: 0.8523 MB / 0.5192 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007176/0.433, allocations: 135.3 kB / 0.5193 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.436, allocations: 1.84 MB / 0.5211 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.4363, allocations: 278.3 kB / 0.5214 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002749/0.4366, allocations: 72.28 kB / 0.5214 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/0.4367, allocations: 37.14 kB / 0.5215 GB, free: 14.22 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4367, allocations: 0 / 0.5215 GB, free: 14.22 MB / 446.1 MB Notification: Performance of Templates: time 0.01969/0.4564, allocations: 8 MB / 0.5293 GB, free: 13.38 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.311246536904946] Failed to read output from testmodel.py, exit status != 0: 0.46567182103171945 0.47978793700000005 0.08225470700000001 Calling exit ...