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.001518/0.001518, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.00187/0.00187, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.576/1.576, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.1049/0.1049, allocations: 22.93 MB / 332.5 MB, free: 2.652 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.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: "" <> buildModelFMU(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P,fileNamePrefix="AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_prescribed_P",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P,fileNamePrefix="AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_prescribed_P",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 68.47 kB / 464.6 MB, free: 33.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1279, allocations: 59.27 MB / 0.5116 GB, free: 160 kB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P): time 0.003118/0.131, allocations: 1.501 MB / 0.5131 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000943/0.1319, allocations: 451.1 kB / 0.5135 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.132, allocations: 3.938 kB / 0.5135 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.298e-05/0.132, allocations: 7.922 kB / 0.5135 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.1322, allocations: 23.84 kB / 0.5135 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.348e-05/0.1323, allocations: 7.984 kB / 0.5135 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.1324, allocations: 71.64 kB / 0.5136 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.312e-05/0.1325, allocations: 11.94 kB / 0.5136 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.1327, allocations: 39.84 kB / 0.5137 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.1328, allocations: 39.83 kB / 0.5137 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.1329, allocations: 4 kB / 0.5137 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.1329, allocations: 4 kB / 0.5137 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.1329, allocations: 11.92 kB / 0.5137 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.1329, allocations: 31.8 kB / 0.5138 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.1331, allocations: 39.77 kB / 0.5138 GB, free: 13.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1331, allocations: 4 kB / 0.5138 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1331, allocations: 0 / 0.5138 GB, free: 13.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1331, allocations: 0 / 0.5138 GB, free: 13.89 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006593/0.1337, allocations: 379.2 kB / 0.5142 GB, free: 13.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.1338, allocations: 12.62 kB / 0.5142 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.504e-05/0.1338, allocations: 8.172 kB / 0.5142 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.185e-05/0.1339, allocations: 42.7 kB / 0.5142 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.1339, allocations: 8.891 kB / 0.5142 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.1341, allocations: 192.2 kB / 0.5144 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1341, allocations: 4.375 kB / 0.5144 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.1342, allocations: 11.94 kB / 0.5144 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1343, allocations: 69.67 kB / 0.5145 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1343, allocations: 0 / 0.5145 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1343, allocations: 0 / 0.5145 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1344, allocations: 4 kB / 0.5145 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1345, allocations: 35.91 kB / 0.5145 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.1351, allocations: 316.7 kB / 0.5148 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.1353, allocations: 86.48 kB / 0.5149 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.879e-05/0.1354, allocations: 40.88 kB / 0.515 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.1354, allocations: 224 / 0.515 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.1354, allocations: 42.5 kB / 0.515 GB, free: 12.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 9.41e-07/0.1354, allocations: 0 / 0.515 GB, free: 12.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009456/0.1364, allocations: 441.7 kB / 0.5154 GB, free: 12.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.1364, allocations: 59.41 kB / 0.5155 GB, free: 11.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.1365, allocations: 130.1 kB / 0.5156 GB, free: 11.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1366, allocations: 25.7 kB / 0.5156 GB, free: 11.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.1366, allocations: 92.08 kB / 0.5157 GB, free: 11.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.1367, allocations: 55.53 kB / 0.5158 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.1367, allocations: 37.72 kB / 0.5158 GB, free: 11.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1369, allocations: 318.8 kB / 0.5161 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.247e-05/0.137, allocations: 23.98 kB / 0.5161 GB, free: 11.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-05/0.1371, allocations: 52.59 kB / 0.5162 GB, free: 11.18 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.1376, allocations: 241.9 kB / 0.5164 GB, free: 10.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1376, allocations: 0 / 0.5164 GB, free: 10.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002651/0.1378, allocations: 156.4 kB / 0.5166 GB, free: 10.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1378, allocations: 8 kB / 0.5166 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1379, allocations: 0 / 0.5166 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/0.138, allocations: 36.77 kB / 0.5166 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1381, allocations: 23.98 kB / 0.5166 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.1398, allocations: 1.576 MB / 0.5182 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.527e-05/0.1399, allocations: 8.094 kB / 0.5182 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1399, allocations: 4 kB / 0.5182 GB, free: 8.957 MB / 382.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 (15): * Single equations (assignments): 14 * 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.0001371/0.14, allocations: 125.7 kB / 0.5183 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.1401, allocations: 7.953 kB / 0.5183 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.1401, allocations: 20.48 kB / 0.5183 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1401, allocations: 0 / 0.5183 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1401, allocations: 0 / 0.5183 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1401, allocations: 4 kB / 0.5183 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005825/0.1407, allocations: 416 kB / 0.5187 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1407, allocations: 0 / 0.5187 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.1408, allocations: 35.8 kB / 0.5187 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001339/0.1409, allocations: 36.86 kB / 0.5188 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1409, allocations: 3.984 kB / 0.5188 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.1424, allocations: 1.583 MB / 0.5203 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1424, allocations: 0 / 0.5203 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.1427, allocations: 257 kB / 0.5206 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/0.1428, allocations: 93.16 kB / 0.5207 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1428, allocations: 0 / 0.5207 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.183e-05/0.1429, allocations: 4 kB / 0.5207 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.143, allocations: 12.03 kB / 0.5207 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.143, allocations: 8 kB / 0.5207 GB, free: 6.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.318e-05/0.1431, allocations: 110.4 kB / 0.5208 GB, free: 6.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1431, allocations: 0 / 0.5208 GB, free: 6.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.1434, allocations: 28 kB / 0.5208 GB, free: 5.984 MB / 382.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 (10): * Single equations (assignments): 9 * 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.000706/0.1441, allocations: 0.7843 MB / 0.5216 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003749/0.1445, allocations: 194.6 kB / 0.5218 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1445, allocations: 4.125 kB / 0.5218 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.1447, allocations: 158.5 kB / 0.5219 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.1449, allocations: 11.94 kB / 0.5219 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.1473, allocations: 1.837 MB / 0.5237 GB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1477, allocations: 0.7006 MB / 0.5244 GB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.463e-05/0.1477, allocations: 12.86 kB / 0.5244 GB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.1478, allocations: 31.44 kB / 0.5245 GB, free: 2.066 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1478, allocations: 0 / 0.5245 GB, free: 2.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.1728, allocations: 2.779 MB / 0.5272 GB, free: 15.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.5, allocations: 10.08 kB / 0.5272 GB, free: 15.49 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_prescribed_P_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_prescribed_P.fmu > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.421084767964203] Failed to read output from testmodel.py, exit status != 0: 12.650009782984853 12.671410887 12.535278063 Calling exit ...