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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_islanding_001") translateModel(AES.Devel_test_models.Test_islanding_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_islanding_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2615/0.2615, allocations: 22.34 MB / 313.3 MB, free: 13.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003465, allocations: 12 kB / 381.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3465, allocations: 55.97 MB / 437.8 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_islanding_001): time 0.002968/0.3495, allocations: 3.096 MB / 440.9 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.3516, allocations: 1.215 MB / 442.1 MB, free: 36.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002816/0.3519, allocations: 19.31 kB / 442.1 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003718/0.3523, allocations: 78.39 kB / 442.2 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004557/0.3527, allocations: 217.8 kB / 442.4 MB, free: 36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006378/0.3534, allocations: 319.3 kB / 442.7 MB, free: 35.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006051/0.354, allocations: 0.5671 MB / 443.3 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.3543, allocations: 213.3 kB / 443.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.3546, allocations: 293.6 kB / 443.8 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.355, allocations: 323.7 kB / 444.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.459e-05/0.3551, allocations: 24.84 kB / 444.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.867e-05/0.3551, allocations: 29.72 kB / 444.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.3553, allocations: 140 kB / 444.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.3554, allocations: 139.5 kB / 444.4 MB, free: 35.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.3558, allocations: 0.5969 MB / 445 MB, free: 34.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3558, allocations: 0 / 445 MB, free: 34.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3558, allocations: 0 / 445 MB, free: 34.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.3558, allocations: 0 / 445 MB, free: 34.86 MB / 350.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.001971/0.3578, allocations: 1.076 MB / 446.1 MB, free: 34.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3579, allocations: 10.91 kB / 446.1 MB, free: 34.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.358, allocations: 91.03 kB / 446.2 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009355/0.359, allocations: 0.5419 MB / 446.8 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/0.3591, allocations: 72.45 kB / 446.8 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.944e-05/0.3592, allocations: 61.38 kB / 446.9 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008691/0.36, allocations: 0.6024 MB / 447.5 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.3601, allocations: 3.953 kB / 447.5 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/0.3601, allocations: 25.91 kB / 447.5 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.3601, allocations: 14 kB / 447.5 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008148/0.361, allocations: 499.2 kB / 448 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.3638, allocations: 1.979 MB / 450 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.3651, allocations: 0.601 MB / 450.6 MB, free: 31.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-05/0.3652, allocations: 8.812 kB / 450.6 MB, free: 31.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3652, allocations: 45.94 kB / 450.7 MB, free: 31.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.925e-06/0.3652, allocations: 0 / 450.7 MB, free: 31.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.01292/0.3782, allocations: 2.973 MB / 453.6 MB, free: 30.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.3783, allocations: 111.2 kB / 453.7 MB, free: 30.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000993/0.3793, allocations: 0.6144 MB / 454.4 MB, free: 30.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/0.3794, allocations: 35.08 kB / 454.4 MB, free: 30.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.3795, allocations: 324 kB / 454.7 MB, free: 30.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.3797, allocations: 244.3 kB / 454.9 MB, free: 29.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.3798, allocations: 14.28 kB / 455 MB, free: 29.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3799, allocations: 378.6 kB / 455.3 MB, free: 29.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005552/0.3804, allocations: 232.8 kB / 455.6 MB, free: 29.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.3809, allocations: 325.4 kB / 455.9 MB, free: 29.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.3814, allocations: 272.8 kB / 456.1 MB, free: 29.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3815, allocations: 0 / 456.1 MB, free: 29.11 MB / 350.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.Pm ; G1.Pcmd ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G1.Pcmd 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.004064/0.3855, allocations: 1.447 MB / 457.6 MB, free: 28.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.3857, allocations: 0.5233 MB / 458.1 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.3857, allocations: 1.375 kB / 458.1 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003036/0.3887, allocations: 479.8 kB / 458.6 MB, free: 27.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/0.3894, allocations: 145.4 kB / 458.7 MB, free: 27.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.4003, allocations: 8.839 MB / 467.6 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007005/0.401, allocations: 57.28 kB / 467.6 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.4011, allocations: 24.84 kB / 467.6 MB, free: 19.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.4011, allocations: 3.094 kB / 467.6 MB, free: 19.93 MB / 350.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.Pm ; G1.Pcmd ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G1.Pcmd since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003562/0.4047, allocations: 1.299 MB / 468.9 MB, free: 19.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4047, allocations: 1.062 kB / 468.9 MB, free: 19.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002929/0.4076, allocations: 475 kB / 469.4 MB, free: 19.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006001/0.4082, allocations: 132.2 kB / 469.5 MB, free: 19.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.4189, allocations: 8.842 MB / 478.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006956/0.4196, allocations: 47.66 kB / 478.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.456e-05/0.4197, allocations: 19.45 kB / 478.4 MB, free: 11.38 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003996/0.4201, allocations: 294.5 kB / 478.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.4203, allocations: 74.41 kB / 478.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002817/0.4231, allocations: 1.002 MB / 479.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.4231, allocations: 14.83 kB / 479.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4231, allocations: 2.031 kB / 479.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/0.4231, allocations: 7.516 kB / 479.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/0.4269, allocations: 1.754 MB / 481.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4269, allocations: 0 / 481.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005807/0.4275, allocations: 114.5 kB / 481.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/0.4295, allocations: 391.5 kB / 482.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/0.4296, allocations: 19.27 kB / 482.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006919/0.4365, allocations: 2.962 MB / 485.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4366, allocations: 0 / 485.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003575/0.4401, allocations: 1.373 MB / 486.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/0.4405, allocations: 195.6 kB / 486.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.4407, allocations: 14.11 kB / 486.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.4413, allocations: 63.47 kB / 486.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.4415, allocations: 49.31 kB / 486.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.4415, allocations: 15.66 kB / 486.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009664/0.4425, allocations: 448.2 kB / 487.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4425, allocations: 4 kB / 487.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001412/0.4439, allocations: 252.2 kB / 487.4 MB, free: 7.059 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (g1.x_scaled[1],g1.x_scaled[2],Cps1.I.y,G1.deltag,G1.wg,G2.deltag,G2.wg,g2.x_scaled[1],g2.x_scaled[2],Cps2.I.y,B.port_a.theta,B.port_b.theta) * Number of discrete variables: 1 (B.close) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001706/0.4441, allocations: 115.3 kB / 487.6 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.4466, allocations: 1.691 MB / 489.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4466, allocations: 0 / 489.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007505/0.4474, allocations: 496.9 kB / 489.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/0.4481, allocations: 126.4 kB / 489.9 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.4511, allocations: 1.99 MB / 491.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.4517, allocations: 0.9734 MB / 492.8 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005086/0.4522, allocations: 119 kB / 492.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.4524, allocations: 45.72 kB / 493 MB, free: 3.641 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4524, allocations: 4.938 kB / 493 MB, free: 3.637 MB / 350.1 MB Notification: Performance of Templates: time 0.01749/0.4699, allocations: 10.18 MB / 0.4914 GB, free: 10.01 MB / 366.1 MB make -j1 -f AES_AES.Devel_test_models.Test_islanding_001.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: