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.0009095/0.0009095, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009985/0.0009985, allocations: 174.5 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1955/0.1955, allocations: 22.33 MB / 314.4 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002861, allocations: 8 kB / 383.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.24, allocations: 55.98 MB / 439.2 MB, free: 39.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_islanding_001): time 0.00299/0.243, allocations: 3.312 MB / 442.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.2451, allocations: 1.239 MB / 443.8 MB, free: 36.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.2456, allocations: 17.16 kB / 443.8 MB, free: 36.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.246, allocations: 106.5 kB / 443.9 MB, free: 35.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.2464, allocations: 152.4 kB / 444.1 MB, free: 35.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000664/0.2471, allocations: 367.2 kB / 444.4 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005778/0.2477, allocations: 0.8833 MB / 445.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003515/0.248, allocations: 262.6 kB / 445.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.2483, allocations: 282.6 kB / 445.8 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.2487, allocations: 337.7 kB / 446.2 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.612e-05/0.2487, allocations: 27 kB / 446.2 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.296e-05/0.2488, allocations: 25.41 kB / 446.2 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.2489, allocations: 146.3 kB / 446.4 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.2491, allocations: 336.5 kB / 446.7 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.2495, allocations: 0.5988 MB / 447.3 MB, free: 34.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2495, allocations: 4 kB / 447.3 MB, free: 34.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2495, allocations: 0 / 447.3 MB, free: 34.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.217e-05/0.2495, allocations: 0 / 447.3 MB, free: 34.36 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.2515, allocations: 1.067 MB / 448.4 MB, free: 33.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.2516, allocations: 17.09 kB / 448.4 MB, free: 33.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.2517, allocations: 94.66 kB / 448.5 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008637/0.2525, allocations: 0.5636 MB / 449 MB, free: 33.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.602e-05/0.2526, allocations: 78.39 kB / 449.1 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.209e-05/0.2527, allocations: 62.06 kB / 449.2 MB, free: 33.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000891/0.2536, allocations: 0.616 MB / 449.8 MB, free: 32.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.2536, allocations: 0 / 449.8 MB, free: 32.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/0.2537, allocations: 35.02 kB / 449.8 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.2537, allocations: 10.69 kB / 449.8 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008838/0.2546, allocations: 499.9 kB / 450.3 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.2571, allocations: 1.974 MB / 452.3 MB, free: 31.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009168/0.258, allocations: 0.6024 MB / 452.9 MB, free: 31.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.2585, allocations: 306 kB / 453.2 MB, free: 31.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.2586, allocations: 10 kB / 453.2 MB, free: 31.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.2586, allocations: 49.69 kB / 453.2 MB, free: 31.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 1.863e-06/0.2586, allocations: 2.625 kB / 453.2 MB, free: 31.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.01261/0.2712, allocations: 2.999 MB / 456.2 MB, free: 30.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.2713, allocations: 109.2 kB / 456.4 MB, free: 29.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008945/0.2722, allocations: 0.615 MB / 457 MB, free: 29.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.2722, allocations: 37.02 kB / 457 MB, free: 29.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.2724, allocations: 325.8 kB / 457.3 MB, free: 29.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.2726, allocations: 234.6 kB / 457.6 MB, free: 29.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.2726, allocations: 60.14 kB / 457.6 MB, free: 29.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.2727, allocations: 384.6 kB / 458 MB, free: 28.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/0.2732, allocations: 239 kB / 458.2 MB, free: 28.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005132/0.2737, allocations: 332.1 kB / 458.5 MB, free: 28.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008896/0.2826, allocations: 1.839 MB / 460.4 MB, free: 28.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2826, allocations: 1 kB / 460.4 MB, free: 28.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.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.004211/0.2868, allocations: 1.456 MB / 461.8 MB, free: 27.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.2869, allocations: 127.9 kB / 462 MB, free: 27.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2869, allocations: 2.031 kB / 462 MB, free: 27.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003372/0.2903, allocations: 479 kB / 462.4 MB, free: 27.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007273/0.291, allocations: 143.9 kB / 462.6 MB, free: 27.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.3018, allocations: 8.721 MB / 471.3 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000616/0.3024, allocations: 61.36 kB / 471.4 MB, free: 19.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.3025, allocations: 20.77 kB / 471.4 MB, free: 19.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.3025, allocations: 4.312 kB / 471.4 MB, free: 19.34 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.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 postOpt replaceHomotopyWithSimplified (initialization): time 0.003921/0.3064, allocations: 1.306 MB / 472.7 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3064, allocations: 5.188 kB / 472.7 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003308/0.3097, allocations: 472.3 kB / 473.2 MB, free: 18.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.3104, allocations: 131.6 kB / 473.3 MB, free: 18.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.3208, allocations: 8.729 MB / 482 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/0.3214, allocations: 46.56 kB / 482.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.3214, allocations: 23.56 kB / 482.1 MB, free: 10.8 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 (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.0003097/0.3217, allocations: 291.3 kB / 482.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.3219, allocations: 74.5 kB / 482.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/0.325, allocations: 1.015 MB / 483.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.325, allocations: 8.469 kB / 483.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.325, allocations: 0 / 483.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.325, allocations: 3.797 kB / 483.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003826/0.3288, allocations: 1.761 MB / 485.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3289, allocations: 0 / 485.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006028/0.3295, allocations: 121.9 kB / 485.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/0.3317, allocations: 388.2 kB / 485.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.3318, allocations: 20.53 kB / 485.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006762/0.3385, allocations: 2.853 MB / 488.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3386, allocations: 4.688 kB / 488.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/0.3421, allocations: 1.373 MB / 490 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.3423, allocations: 201 kB / 490.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.384e-05/0.3424, allocations: 13.25 kB / 490.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006035/0.343, allocations: 56.08 kB / 490.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.3432, allocations: 52.17 kB / 490.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.3432, allocations: 17.22 kB / 490.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007695/0.344, allocations: 453.1 kB / 490.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.344, allocations: 0 / 490.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001109/0.3451, allocations: 250.8 kB / 491 MB, free: 6.5 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001204/0.3452, allocations: 124.9 kB / 491.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002272/0.3475, allocations: 1.69 MB / 492.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3475, allocations: 0 / 492.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006991/0.3482, allocations: 0.4888 MB / 493.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007424/0.349, allocations: 143.6 kB / 493.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.3513, allocations: 2.116 MB / 495.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.3516, allocations: 0.9601 MB / 496.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.3518, allocations: 43.44 kB / 496.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3518, allocations: 0 / 496.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of Templates: time 0.01607/0.3679, allocations: 14.14 MB / 0.4987 GB, free: 3.668 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)