Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.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.001312/0.001312, allocations: 84.48 kB / 19.96 MB, free: 1.754 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.001378/0.001378, allocations: 167.7 kB / 23.23 MB, free: 4.879 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.485/1.485, allocations: 177.1 MB / 203.5 MB, free: 9.18 MB / 190.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.1015/0.1015, allocations: 18.13 MB / 278.1 MB, free: 15.06 MB / 270.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.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(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 413.2 MB, free: 4.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.659e-05/3.877e-05, allocations: 6.219 kB / 413.2 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P): time 0.003342/0.003381, allocations: 1.466 MB / 414.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.004339, allocations: 427.1 kB / 415.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.407e-05/0.004393, allocations: 0 / 415.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.898e-05/0.004452, allocations: 11.86 kB / 415.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.004664, allocations: 27.78 kB / 415.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.519e-05/0.004719, allocations: 7.969 kB / 415.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.004871, allocations: 75.64 kB / 415.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.898e-05/0.00495, allocations: 4 kB / 415.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.005159, allocations: 39.84 kB / 415.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.005269, allocations: 31.89 kB / 415.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.005295, allocations: 4 kB / 415.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.005312, allocations: 4 kB / 415.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.005337, allocations: 11.92 kB / 415.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.005385, allocations: 27.91 kB / 415.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.005515, allocations: 47.75 kB / 415.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.005518, allocations: 0 / 415.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005518, allocations: 0 / 415.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.005529, allocations: 0 / 415.4 MB, free: 2.77 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007229/0.006252, allocations: 310 kB / 415.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.006301, allocations: 8.922 kB / 415.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.006341, allocations: 8.891 kB / 415.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.006542, allocations: 129.6 kB / 415.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.006559, allocations: 384 / 415.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.006594, allocations: 8.375 kB / 415.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.00676, allocations: 62.17 kB / 415.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.006771, allocations: 4.188 kB / 415.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.006787, allocations: 3.938 kB / 415.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.006794, allocations: 4 kB / 415.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.72e-05/0.006871, allocations: 27.98 kB / 415.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/0.007505, allocations: 244.4 kB / 416.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.00782, allocations: 86.45 kB / 416.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.072e-05/0.00789, allocations: 32.94 kB / 416.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.0079, allocations: 112 / 416.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.007945, allocations: 46.62 kB / 416.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.007947, allocations: 0 / 416.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.001034/0.008981, allocations: 310.5 kB / 416.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00021/0.009191, allocations: 59.41 kB / 416.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.009399, allocations: 136.8 kB / 416.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.009429, allocations: 29.7 kB / 416.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.009555, allocations: 92.09 kB / 416.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.009615, allocations: 39.62 kB / 417 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.00968, allocations: 29.8 kB / 417 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003276/0.01001, allocations: 326.8 kB / 417.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.369e-05/0.01006, allocations: 20 kB / 417.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.645e-05/0.01016, allocations: 53.17 kB / 417.4 MB, free: 0.5391 MB / 334.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.01065, allocations: 144.6 kB / 417.5 MB, free: 400 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.01065, allocations: 0 / 417.5 MB, free: 400 kB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003271/0.01097, allocations: 134.4 kB / 417.7 MB, free: 256 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.011, allocations: 11.94 kB / 417.7 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.01101, allocations: 3.984 kB / 417.7 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.01122, allocations: 28.84 kB / 417.7 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.01132, allocations: 19.98 kB / 417.7 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.01342, allocations: 1.449 MB / 419.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.594e-05/0.01349, allocations: 7.969 kB / 419.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.0135, allocations: 4 kB / 419.2 MB, free: 14.62 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: deltag:VARIABLE(unit = \"rad\" fixed = true ) \"generator angle wrt port\" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: Pm = Pcmd. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001955/0.01369, allocations: 121.9 kB / 419.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.01373, allocations: 7.953 kB / 419.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.01386, allocations: 12.52 kB / 419.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.01387, allocations: 4 kB / 419.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.01387, allocations: 3.938 kB / 419.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.01388, allocations: 4 kB / 419.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.01448, allocations: 327.7 kB / 419.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01448, allocations: 0 / 419.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.01459, allocations: 19.98 kB / 419.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001332/0.01473, allocations: 32.86 kB / 419.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.01474, allocations: 7.984 kB / 419.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.01647, allocations: 1.434 MB / 421.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01647, allocations: 3.938 kB / 421.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.01684, allocations: 253 kB / 421.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.01686, allocations: 4.047 kB / 421.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.01688, allocations: 12.03 kB / 421.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.74e-05/0.01697, allocations: 4 kB / 421.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.017, allocations: 12.17 kB / 421.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.01701, allocations: 4 kB / 421.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.237e-05/0.0171, allocations: 102 kB / 421.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.0171, allocations: 0 / 421.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.01743, allocations: 27.94 kB / 421.6 MB, free: 12.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (thetap,deltag,wg) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001452/0.01757, allocations: 103.2 kB / 421.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003873/0.01796, allocations: 186.5 kB / 421.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01796, allocations: 0 / 421.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.01818, allocations: 142.7 kB / 422 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.01846, allocations: 8 kB / 422 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008987/0.01936, allocations: 352.6 kB / 422.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.01946, allocations: 79.33 kB / 422.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.861e-05/0.0195, allocations: 12.47 kB / 422.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.01954, allocations: 12.5 kB / 422.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01954, allocations: 0 / 422.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Templates: time 0.005155/0.02469, allocations: 1.159 MB / 423.6 MB, free: 9.957 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.makefile [Timeout 660] (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.46728478372097] Failed to read output from testmodel.py, exit status != 0: 0.03437037393450737 0.052430921000000005 0.043239973 Calling exit ...