Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_islanding_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 112.6 kB / 18.68 MB, free: 3.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 250.6 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1079/0.1079, allocations: 22.7 MB / 328.5 MB, free: 2.723 MB / 254.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_islanding_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_islanding_001") translateModel(AES.Devel_test_models.Test_islanding_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_islanding_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 71.88 kB / 462.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.09907, allocations: 58.02 MB / 0.5081 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_islanding_001): time 0.005543/0.1046, allocations: 3.75 MB / 0.5118 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1959/0.3005, allocations: 1.286 MB / 0.5131 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005829/0.3011, allocations: 19.78 kB / 0.5131 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004865/0.3016, allocations: 133.4 kB / 0.5132 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.302, allocations: 189 kB / 0.5134 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007702/0.3028, allocations: 416.9 kB / 0.5138 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008141/0.3036, allocations: 0.929 MB / 0.5147 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.3039, allocations: 210.5 kB / 0.5149 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.3042, allocations: 363.5 kB / 0.5152 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004049/0.3046, allocations: 409.7 kB / 0.5156 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.3047, allocations: 75.09 kB / 0.5157 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.3049, allocations: 75.06 kB / 0.5158 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.3051, allocations: 207.2 kB / 0.516 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.3053, allocations: 374.5 kB / 0.5163 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006251/0.3059, allocations: 0.8561 MB / 0.5172 GB, free: 11.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3059, allocations: 5.125 kB / 0.5172 GB, free: 11.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3059, allocations: 0 / 0.5172 GB, free: 11.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.3059, allocations: 2.625 kB / 0.5172 GB, free: 11.79 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002288/0.3082, allocations: 1.207 MB / 0.5183 GB, free: 11.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3082, allocations: 9.438 kB / 0.5183 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.3084, allocations: 92.31 kB / 0.5184 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.3094, allocations: 0.598 MB / 0.519 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.398e-05/0.3095, allocations: 74.39 kB / 0.5191 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.114e-05/0.3096, allocations: 66.75 kB / 0.5192 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009659/0.3105, allocations: 0.6068 MB / 0.5197 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.3106, allocations: 1.469 kB / 0.5198 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.022e-05/0.3106, allocations: 24 kB / 0.5198 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.3106, allocations: 14.09 kB / 0.5198 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009438/0.3116, allocations: 481.5 kB / 0.5202 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002783/0.3144, allocations: 1.95 MB / 0.5222 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009994/0.3154, allocations: 0.558 MB / 0.5227 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/0.3159, allocations: 279.8 kB / 0.523 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-05/0.3159, allocations: 12.61 kB / 0.523 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.3159, allocations: 39.19 kB / 0.523 GB, free: 8.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 1.813e-06/0.3159, allocations: 0 / 0.523 GB, free: 8.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=67): time 0.01255/0.3285, allocations: 2.845 MB / 0.5258 GB, free: 7.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.3285, allocations: 114.5 kB / 0.5259 GB, free: 7.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009555/0.3295, allocations: 0.6144 MB / 0.5265 GB, free: 7.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.3295, allocations: 39.8 kB / 0.5265 GB, free: 7.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.3297, allocations: 325.6 kB / 0.5268 GB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.3298, allocations: 248.2 kB / 0.5271 GB, free: 6.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.33, allocations: 112.6 kB / 0.5272 GB, free: 6.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.3301, allocations: 387.5 kB / 0.5276 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.3306, allocations: 233.2 kB / 0.5278 GB, free: 6.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.3311, allocations: 325.1 kB / 0.5281 GB, free: 6.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008547/0.3396, allocations: 1.736 MB / 0.5298 GB, free: 5.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3396, allocations: 0 / 0.5298 GB, free: 5.66 MB / 382.1 MB Warning: The linear system: 1 : G2.Pm = G2.Pcmd 2 : G2.Pm = G2.Pcmd [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ G2.Pcmd ; G2.Pm ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G2.Pm since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : G1.Pm = G1.Pcmd 2 : G1.Pm = G1.Pcmd [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ G1.Pcmd ; G1.Pm ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G1.Pm since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=84) (initialization): time 0.004062/0.3437, allocations: 1.401 MB / 0.5312 GB, free: 4.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3437, allocations: 6.031 kB / 0.5312 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3437, allocations: 1 kB / 0.5312 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003156/0.3469, allocations: 446.7 kB / 0.5316 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006976/0.3476, allocations: 137.5 kB / 0.5317 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/0.3598, allocations: 9.383 MB / 0.5409 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/0.3604, allocations: 58.12 kB / 0.5409 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/0.3605, allocations: 19.94 kB / 0.541 GB, free: 12.43 MB / 398.1 MB Warning: Assuming fixed start value for the following 4 variables: B.port_b.theta:VARIABLE(flow=false unit = \"rad\" fixed = true ) type: Real B.port_a.theta:VARIABLE(flow=false unit = \"rad\" fixed = true ) type: Real g2.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] g1.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006763/0.3612, allocations: 362 kB / 0.5413 GB, free: 12.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004449/0.3616, allocations: 292.5 kB / 0.5416 GB, free: 12.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008373/0.37, allocations: 1.681 MB / 0.5432 GB, free: 11.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.37, allocations: 3.938 kB / 0.5432 GB, free: 11.34 MB / 398.1 MB Warning: The linear system: 1 : G2.Pm = G2.Pcmd 2 : G2.Pm = G2.Pcmd [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ G2.Pcmd ; G2.Pm ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G2.Pm since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : G1.Pm = G1.Pcmd 2 : G1.Pm = G1.Pcmd [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ G1.Pcmd ; G1.Pm ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G1.Pm since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.004055/0.374, allocations: 1.348 MB / 0.5445 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.374, allocations: 5.375 kB / 0.5446 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.374, allocations: 1.531 kB / 0.5446 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003173/0.3772, allocations: 441 kB / 0.545 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/0.3778, allocations: 129.8 kB / 0.5451 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.3913, allocations: 9.397 MB / 0.5543 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005565/0.3919, allocations: 46.38 kB / 0.5543 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.3919, allocations: 27.62 kB / 0.5543 GB, free: 1.344 MB / 398.1 MB Warning: Assuming fixed start value for the following 4 variables: B.port_b.theta:VARIABLE(flow=false unit = \"rad\" fixed = true ) type: Real B.port_a.theta:VARIABLE(flow=false unit = \"rad\" fixed = true ) type: Real g2.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] g1.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (B.close,Cps2.I.local_reset,Cps1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002537/0.3922, allocations: 216.1 kB / 0.5545 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.3923, allocations: 73.91 kB / 0.5546 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003076/0.3954, allocations: 0.9636 MB / 0.5556 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3954, allocations: 9.109 kB / 0.5556 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3954, allocations: 3.938 kB / 0.5556 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.3957, allocations: 201.6 kB / 0.5558 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.775e-05/0.3958, allocations: 21.09 kB / 0.5558 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005644/0.3963, allocations: 49.41 kB / 0.5558 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.3964, allocations: 52.66 kB / 0.5559 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002455/0.3989, allocations: 0.9112 MB / 0.5568 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001882/0.4008, allocations: 1.159 MB / 0.5579 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005025/0.4013, allocations: 268.9 kB / 0.5582 GB, free: 14.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008531/0.4021, allocations: 451.8 kB / 0.5586 GB, free: 14.74 MB / 414.1 MB Notification: Performance of Backend: time 3.61e-07/0.4021, allocations: 1.25 kB / 0.5586 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002493/0.4046, allocations: 1.51 MB / 0.5601 GB, free: 13.58 MB / 414.1 MB Notification: Performance of SimCode: time 0.002921/0.4075, allocations: 2.195 MB / 0.5622 GB, free: 11.97 MB / 414.1 MB Notification: Performance of Templates: time 0.02327/0.4308, allocations: 14.02 MB / 0.5759 GB, free: 15.63 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_islanding_001.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_islanding_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_islanding_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_islanding_001.pipe >> ../files/AES_AES.Devel_test_models.Test_islanding_001.sim & ./AES_AES.Devel_test_models.Test_islanding_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_islanding_001.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.976384413021151] Failed to read output from testmodel.py, exit status != 0: 0.4389678760198876 0.45216905399999996 0.14331219499999995 Calling exit ...