Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001318/0.001318, allocations: 69.64 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.001479/0.001479, allocations: 160.9 kB / 24.5 MB, free: 3.715 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.481/1.481, allocations: 177.2 MB / 204.9 MB, free: 9.016 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.1782/0.1782, allocations: 29.43 MB / 290.7 MB, free: 3.262 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.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3703,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3703,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [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.0021/0.0021, allocations: 63.89 kB / 431.2 MB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4132, allocations: 62.44 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.005917/0.4191, allocations: 4.015 MB / 497.7 MB, free: 35.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.421, allocations: 0.8355 MB / 498.5 MB, free: 34.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.4212, allocations: 13.91 kB / 498.5 MB, free: 34.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.4214, allocations: 47.56 kB / 498.6 MB, free: 34.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004467/0.4218, allocations: 171.8 kB / 498.7 MB, free: 34.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.422, allocations: 87.39 kB / 498.8 MB, free: 34.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000365/0.4224, allocations: 401.4 kB / 499.2 MB, free: 34.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.4225, allocations: 69.91 kB / 499.3 MB, free: 34.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.4228, allocations: 194.5 kB / 499.5 MB, free: 34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.4231, allocations: 183.4 kB / 499.6 MB, free: 33.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.4231, allocations: 19.59 kB / 499.7 MB, free: 33.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.912e-05/0.4232, allocations: 23.81 kB / 499.7 MB, free: 33.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.999e-05/0.4233, allocations: 86.09 kB / 499.8 MB, free: 33.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.4234, allocations: 118 kB / 499.9 MB, free: 33.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.4237, allocations: 293.9 kB / 0.4884 GB, free: 33.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4237, allocations: 0 / 0.4884 GB, free: 33.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4237, allocations: 0 / 0.4884 GB, free: 33.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.4237, allocations: 0 / 0.4884 GB, free: 33.71 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009279/0.4247, allocations: 0.5257 MB / 0.489 GB, free: 33.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.4247, allocations: 17.77 kB / 0.489 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.4248, allocations: 35.61 kB / 0.489 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.4252, allocations: 274 kB / 0.4893 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.4252, allocations: 17.97 kB / 0.4893 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.4254, allocations: 38.39 kB / 0.4893 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.4257, allocations: 296.5 kB / 0.4896 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4257, allocations: 0 / 0.4896 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.4258, allocations: 14.45 kB / 0.4896 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.4258, allocations: 3.156 kB / 0.4896 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.426, allocations: 186.9 kB / 0.4898 GB, free: 32.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.4272, allocations: 1.148 MB / 0.4909 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.4274, allocations: 121.2 kB / 0.491 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.014e-05/0.4275, allocations: 45.64 kB / 0.4911 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.4275, allocations: 0 / 0.4911 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.4275, allocations: 45.48 kB / 0.4911 GB, free: 31.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.4275, allocations: 0 / 0.4911 GB, free: 31.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008337/0.4283, allocations: 461.2 kB / 0.4916 GB, free: 31.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.4284, allocations: 109.5 kB / 0.4917 GB, free: 31.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.4286, allocations: 242.9 kB / 0.4919 GB, free: 31.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.4286, allocations: 29.7 kB / 0.4919 GB, free: 31.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.499e-05/0.4287, allocations: 201.4 kB / 0.4921 GB, free: 30.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.4287, allocations: 49.77 kB / 0.4922 GB, free: 30.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.4288, allocations: 45.83 kB / 0.4922 GB, free: 30.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.491e-05/0.4288, allocations: 335.8 kB / 0.4925 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.343e-05/0.4289, allocations: 41.2 kB / 0.4926 GB, free: 30.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.302e-05/0.429, allocations: 133 kB / 0.4927 GB, free: 30.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.4292, allocations: 194.2 kB / 0.4929 GB, free: 30.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4292, allocations: 3.25 kB / 0.4929 GB, free: 30.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003232/0.4295, allocations: 235.6 kB / 0.4931 GB, free: 30 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4295, allocations: 6.031 kB / 0.4931 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4295, allocations: 3.125 kB / 0.4931 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000122/0.4296, allocations: 24.48 kB / 0.4931 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.4299, allocations: 63.39 kB / 0.4932 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.4299, allocations: 7.031 kB / 0.4932 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.43, allocations: 13.84 kB / 0.4932 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.4301, allocations: 14.67 kB / 0.4932 GB, free: 29.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.913e-05/0.4302, allocations: 150.9 kB / 0.4934 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.4302, allocations: 24.77 kB / 0.4934 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.4304, allocations: 145.9 kB / 0.4935 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4304, allocations: 0 / 0.4935 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4304, allocations: 3.938 kB / 0.4935 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4304, allocations: 3.156 kB / 0.4935 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.4307, allocations: 201.8 kB / 0.4937 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4307, allocations: 0 / 0.4937 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.4308, allocations: 32.84 kB / 0.4938 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4308, allocations: 0 / 0.4938 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4308, allocations: 11.31 kB / 0.4938 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4308, allocations: 0 / 0.4938 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4308, allocations: 3.219 kB / 0.4938 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.4311, allocations: 369.3 kB / 0.4941 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.4312, allocations: 22.3 kB / 0.4942 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.4312, allocations: 0 / 0.4942 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.4313, allocations: 6.844 kB / 0.4942 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.4314, allocations: 17.58 kB / 0.4942 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.4314, allocations: 10.19 kB / 0.4942 GB, free: 29.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.4315, allocations: 171.9 kB / 0.4944 GB, free: 29.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4315, allocations: 0 / 0.4944 GB, free: 29.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003571/0.4318, allocations: 46.78 kB / 0.4944 GB, free: 29.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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): 13 * 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 8.803e-05/0.4319, allocations: 98.92 kB / 0.4945 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002726/0.4322, allocations: 122.9 kB / 0.4946 GB, free: 29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4322, allocations: 0.8125 kB / 0.4946 GB, free: 29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.859e-05/0.4323, allocations: 52.08 kB / 0.4947 GB, free: 28.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.4328, allocations: 58.81 kB / 0.4947 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008064/0.4336, allocations: 0.6102 MB / 0.4953 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.4337, allocations: 163.4 kB / 0.4955 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.766e-05/0.4338, allocations: 25.16 kB / 0.4955 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.4338, allocations: 28.06 kB / 0.4955 GB, free: 28.43 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4338, allocations: 0 / 0.4955 GB, free: 28.43 MB / 446.1 MB Notification: Performance of Templates: time 0.005442/0.4393, allocations: 2.262 MB / 0.4977 GB, free: 28.12 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.007013997994363] Failed to read output from testmodel.py, exit status != 0: 0.4473119879839942 0.457063553 0.030766856000000002 Calling exit ...