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.001594/0.001594, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001923/0.001923, allocations: 172.7 kB / 15.95 MB, free: 208 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.524/1.524, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2726/0.2726, allocations: 22.33 MB / 313.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003547, allocations: 8 kB / 381.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3699, allocations: 55.98 MB / 437.9 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_islanding_001): time 0.002954/0.3729, allocations: 3.14 MB / 441.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.3748, allocations: 1.229 MB / 442.3 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.3751, allocations: 14.91 kB / 442.3 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004613/0.3756, allocations: 94.53 kB / 442.4 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.376, allocations: 147.8 kB / 442.5 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.3766, allocations: 309.3 kB / 442.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007228/0.3773, allocations: 0.8054 MB / 443.6 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003558/0.3777, allocations: 206.6 kB / 443.8 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003702/0.3781, allocations: 289.5 kB / 444.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003663/0.3785, allocations: 332.3 kB / 444.4 MB, free: 35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.12e-05/0.3785, allocations: 27.38 kB / 444.5 MB, free: 35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.577e-05/0.3786, allocations: 25.12 kB / 444.5 MB, free: 35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.3788, allocations: 147.1 kB / 444.6 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3789, allocations: 140.4 kB / 444.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.3793, allocations: 0.5924 MB / 445.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3794, allocations: 0 / 445.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3794, allocations: 0 / 445.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.3794, allocations: 0 / 445.4 MB, free: 34.68 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.001962/0.3813, allocations: 1.076 MB / 446.4 MB, free: 33.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.3814, allocations: 9.438 kB / 446.5 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.3815, allocations: 92.44 kB / 446.5 MB, free: 33.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008468/0.3824, allocations: 0.5474 MB / 447.1 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.062e-05/0.3825, allocations: 70.39 kB / 447.2 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.584e-05/0.3826, allocations: 61.03 kB / 447.2 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009447/0.3835, allocations: 0.6134 MB / 447.8 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.3836, allocations: 6.516 kB / 447.8 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.3836, allocations: 29.58 kB / 447.9 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.3836, allocations: 12.25 kB / 447.9 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008122/0.3845, allocations: 497.6 kB / 448.4 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.387, allocations: 1.969 MB / 450.3 MB, free: 31.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009576/0.388, allocations: 0.5958 MB / 450.9 MB, free: 31.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.3885, allocations: 310.1 kB / 451.2 MB, free: 31.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.424e-05/0.3885, allocations: 12.42 kB / 451.2 MB, free: 31.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.3886, allocations: 45.69 kB / 451.3 MB, free: 31.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 1.613e-06/0.3886, allocations: 3.938 kB / 451.3 MB, free: 31.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.01074/0.3993, allocations: 2.981 MB / 454.3 MB, free: 30.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.3994, allocations: 109.4 kB / 454.4 MB, free: 30.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009661/0.4004, allocations: 0.6113 MB / 455 MB, free: 30 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.4004, allocations: 36.64 kB / 455 MB, free: 29.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.4007, allocations: 321.4 kB / 455.3 MB, free: 29.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.4009, allocations: 244.5 kB / 455.6 MB, free: 29.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.4009, allocations: 11.03 kB / 455.6 MB, free: 29.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.401, allocations: 383.5 kB / 456 MB, free: 29.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004284/0.4015, allocations: 230.3 kB / 456.2 MB, free: 29.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/0.402, allocations: 325.4 kB / 456.5 MB, free: 28.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/0.4025, allocations: 273.1 kB / 456.8 MB, free: 28.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4025, allocations: 1.156 kB / 456.8 MB, free: 28.81 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.003857/0.4064, allocations: 1.445 MB / 458.2 MB, free: 28.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.568e-05/0.4065, allocations: 134.9 kB / 458.4 MB, free: 27.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.4065, allocations: 1.281 kB / 458.4 MB, free: 27.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003011/0.4095, allocations: 472.1 kB / 458.8 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007798/0.4103, allocations: 145.6 kB / 459 MB, free: 27.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.4209, allocations: 8.71 MB / 467.7 MB, free: 20.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008224/0.4218, allocations: 58.97 kB / 467.7 MB, free: 20.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.4219, allocations: 29.52 kB / 467.8 MB, free: 20.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.422, allocations: 3.438 kB / 467.8 MB, free: 20.07 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.003736/0.4257, allocations: 1.297 MB / 469.1 MB, free: 19.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4257, allocations: 1.344 kB / 469.1 MB, free: 19.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002774/0.4285, allocations: 481.7 kB / 469.5 MB, free: 19.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006337/0.4292, allocations: 135.7 kB / 469.7 MB, free: 19.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.4395, allocations: 8.714 MB / 478.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008522/0.4404, allocations: 51.88 kB / 478.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.4406, allocations: 22.47 kB / 478.5 MB, free: 11.54 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.0007544/0.4413, allocations: 299.9 kB / 478.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.4416, allocations: 73.7 kB / 478.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.4445, allocations: 1.009 MB / 479.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.4445, allocations: 8.125 kB / 479.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4445, allocations: 0 / 479.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.4446, allocations: 3.891 kB / 479.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/0.4485, allocations: 1.75 MB / 481.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.4486, allocations: 4.75 kB / 481.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/0.4492, allocations: 122.1 kB / 481.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001929/0.4511, allocations: 390.9 kB / 482.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-05/0.4512, allocations: 20.53 kB / 482.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006027/0.4572, allocations: 2.846 MB / 485 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.4573, allocations: 3.953 kB / 485 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0035/0.4608, allocations: 1.376 MB / 486.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.4611, allocations: 192.9 kB / 486.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/0.4612, allocations: 17.23 kB / 486.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000541/0.4617, allocations: 55.86 kB / 486.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.4619, allocations: 52.11 kB / 486.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/0.4619, allocations: 18.53 kB / 486.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000801/0.4627, allocations: 443.1 kB / 487.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.11e-07/0.4627, allocations: 0 / 487.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001336/0.4641, allocations: 259.7 kB / 487.4 MB, free: 7.223 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.000154/0.4642, allocations: 114.3 kB / 487.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002328/0.4666, allocations: 1.688 MB / 489.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4666, allocations: 0 / 489.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006965/0.4673, allocations: 495.8 kB / 489.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007215/0.468, allocations: 129.6 kB / 489.8 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.4707, allocations: 1.989 MB / 491.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.4712, allocations: 0.9589 MB / 492.7 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004697/0.4716, allocations: 118.1 kB / 492.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.4718, allocations: 42.16 kB / 492.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4718, allocations: 3.938 kB / 492.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of Templates: time 0.01722/0.489, allocations: 10.2 MB / 0.4913 GB, free: 10.2 MB / 366.1 MB make -j1 -f AES_AES.Devel_test_models.Test_islanding_001.makefile (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)