Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.001339/0.001339, 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.001478/0.001478, allocations: 169.3 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.546/1.546, allocations: 177.2 MB / 204.9 MB, free: 9.059 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.1841/0.1841, allocations: 29.42 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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [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.002238/0.002238, allocations: 67.89 kB / 431.2 MB, free: 3.266 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3846, allocations: 62.45 MB / 493.6 MB, free: 38.01 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.00551/0.3901, allocations: 4.251 MB / 497.9 MB, free: 35.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.3915, allocations: 0.91 MB / 498.8 MB, free: 34.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.3917, allocations: 21.75 kB / 498.8 MB, free: 34.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.392, allocations: 57.75 kB / 498.9 MB, free: 34.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006624/0.3926, allocations: 254 kB / 499.1 MB, free: 34.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.3929, allocations: 94.59 kB / 499.2 MB, free: 34.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005322/0.3934, allocations: 0.4949 MB / 499.7 MB, free: 34.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.3937, allocations: 95.91 kB / 499.8 MB, free: 34.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.394, allocations: 234.9 kB / 0.4883 GB, free: 33.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/0.3944, allocations: 275.6 kB / 0.4886 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.3944, allocations: 26.12 kB / 0.4886 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.767e-05/0.3945, allocations: 22.5 kB / 0.4886 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.3946, allocations: 152.7 kB / 0.4888 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.3947, allocations: 140.9 kB / 0.4889 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.3951, allocations: 377.4 kB / 0.4893 GB, free: 33.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.3951, allocations: 0 / 0.4893 GB, free: 33.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3951, allocations: 0 / 0.4893 GB, free: 33.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.3951, allocations: 0 / 0.4893 GB, free: 33.59 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001011/0.3961, allocations: 0.5922 MB / 0.4898 GB, free: 33.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3962, allocations: 13.14 kB / 0.4899 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.3962, allocations: 39.2 kB / 0.4899 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.3967, allocations: 323.9 kB / 0.4902 GB, free: 32.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.3967, allocations: 21.31 kB / 0.4902 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.3968, allocations: 23.16 kB / 0.4902 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.3972, allocations: 358 kB / 0.4906 GB, free: 32.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3972, allocations: 4 kB / 0.4906 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.3972, allocations: 11.19 kB / 0.4906 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-05/0.3973, allocations: 29.89 kB / 0.4906 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.3976, allocations: 237.1 kB / 0.4909 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.3989, allocations: 1.237 MB / 0.4921 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.3992, allocations: 161.1 kB / 0.4922 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.3993, allocations: 95.27 kB / 0.4923 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.3993, allocations: 2.812 kB / 0.4923 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.3994, allocations: 37.78 kB / 0.4923 GB, free: 31.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.3994, allocations: 0 / 0.4923 GB, free: 31.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.001111/0.4005, allocations: 0.6169 MB / 0.4929 GB, free: 31.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.4005, allocations: 83.72 kB / 0.493 GB, free: 31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.4007, allocations: 308.8 kB / 0.4933 GB, free: 30.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.4007, allocations: 25.7 kB / 0.4933 GB, free: 30.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.4008, allocations: 218.9 kB / 0.4936 GB, free: 30.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.4009, allocations: 63.56 kB / 0.4936 GB, free: 30.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.4009, allocations: 51.53 kB / 0.4937 GB, free: 30.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.401, allocations: 334.9 kB / 0.494 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/0.4011, allocations: 67.66 kB / 0.494 GB, free: 30.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.4012, allocations: 169.9 kB / 0.4942 GB, free: 30.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.4014, allocations: 253.5 kB / 0.4945 GB, free: 29.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4014, allocations: 2.844 kB / 0.4945 GB, free: 29.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003881/0.4018, allocations: 328.8 kB / 0.4948 GB, free: 29.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.4018, allocations: 6 kB / 0.4948 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4018, allocations: 3.062 kB / 0.4948 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/0.402, allocations: 51 kB / 0.4948 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.4022, allocations: 52.09 kB / 0.4949 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009127/0.4031, allocations: 1.475 MB / 0.4963 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.4032, allocations: 14.53 kB / 0.4963 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.4032, allocations: 10.69 kB / 0.4963 GB, free: 28.37 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 (28): * 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: 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 0.0001187/0.4033, allocations: 180.8 kB / 0.4965 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.4034, allocations: 29.36 kB / 0.4965 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.4037, allocations: 233 kB / 0.4968 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4037, allocations: 7.031 kB / 0.4968 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.4037, allocations: 0 / 0.4968 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4037, allocations: 0 / 0.4968 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006187/0.4043, allocations: 0.5478 MB / 0.4973 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4043, allocations: 0 / 0.4973 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.636e-05/0.4044, allocations: 26.75 kB / 0.4973 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001541/0.4046, allocations: 67.03 kB / 0.4974 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.4046, allocations: 6.797 kB / 0.4974 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008158/0.4054, allocations: 1.472 MB / 0.4988 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4054, allocations: 0 / 0.4988 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.4059, allocations: 420.8 kB / 0.4992 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.4059, allocations: 21.23 kB / 0.4993 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.4059, allocations: 3.094 kB / 0.4993 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.4061, allocations: 14.31 kB / 0.4993 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.4061, allocations: 13.17 kB / 0.4993 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.4061, allocations: 7.125 kB / 0.4993 GB, free: 26.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.4062, allocations: 209.3 kB / 0.4995 GB, free: 26.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4062, allocations: 0 / 0.4995 GB, free: 26.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.4066, allocations: 65.34 kB / 0.4996 GB, free: 26.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * 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: 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 8.866e-05/0.4067, allocations: 107 kB / 0.4997 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004583/0.4071, allocations: 302.3 kB / 0.4999 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4071, allocations: 3.938 kB / 0.5 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.4074, allocations: 206.4 kB / 0.5001 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.4079, allocations: 69.89 kB / 0.5002 GB, free: 25.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008919/0.4088, allocations: 0.7324 MB / 0.5009 GB, free: 25.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.4089, allocations: 208.2 kB / 0.5011 GB, free: 25.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.409, allocations: 41.56 kB / 0.5012 GB, free: 25.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.4091, allocations: 23.97 kB / 0.5012 GB, free: 25.02 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4091, allocations: 4 kB / 0.5012 GB, free: 25.01 MB / 446.1 MB Notification: Performance of Templates: time 0.006221/0.4153, allocations: 3.028 MB / 0.5042 GB, free: 24.63 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0424600809346884] Failed to read output from testmodel.py, exit status != 0: 0.42339236091356725 0.43502222 0.036714639 Calling exit ...