Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 105.5 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.1047/0.1047, allocations: 22.7 MB / 325.4 MB, free: 3.551 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.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.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 71.89 kB / 455.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.133, allocations: 58.01 MB / 0.5015 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.003203/0.1362, allocations: 1.676 MB / 0.5032 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008335/0.1371, allocations: 455.1 kB / 0.5036 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.1371, allocations: 4 kB / 0.5036 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.954e-05/0.1372, allocations: 15.86 kB / 0.5036 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1374, allocations: 39.64 kB / 0.5036 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.072e-05/0.1375, allocations: 27.95 kB / 0.5037 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.1378, allocations: 127.5 kB / 0.5038 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.1379, allocations: 13.45 kB / 0.5038 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.138, allocations: 51.83 kB / 0.5039 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.1381, allocations: 59.64 kB / 0.5039 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.1382, allocations: 8 kB / 0.5039 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.55e-05/0.1382, allocations: 8 kB / 0.5039 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.1382, allocations: 27.92 kB / 0.504 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.1383, allocations: 51.72 kB / 0.504 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.1384, allocations: 99.55 kB / 0.5041 GB, free: 6.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1384, allocations: 7.938 kB / 0.5041 GB, free: 6.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1384, allocations: 0 / 0.5041 GB, free: 6.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1384, allocations: 7.875 kB / 0.5041 GB, free: 6.578 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007174/0.1392, allocations: 422.9 kB / 0.5045 GB, free: 6.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1392, allocations: 12.03 kB / 0.5045 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.1392, allocations: 12.84 kB / 0.5045 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.1396, allocations: 215.5 kB / 0.5047 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1396, allocations: 8.125 kB / 0.5048 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.1396, allocations: 12 kB / 0.5048 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1398, allocations: 85.03 kB / 0.5048 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1398, allocations: 0 / 0.5048 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1398, allocations: 4 kB / 0.5048 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1398, allocations: 0 / 0.5048 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.739e-05/0.1399, allocations: 51.88 kB / 0.5049 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.1406, allocations: 384.6 kB / 0.5053 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.1409, allocations: 167.7 kB / 0.5054 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.9e-05/0.141, allocations: 40.84 kB / 0.5055 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.141, allocations: 8 kB / 0.5055 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.141, allocations: 38.48 kB / 0.5055 GB, free: 4.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.141, allocations: 0 / 0.5055 GB, free: 4.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008747/0.1419, allocations: 446.9 kB / 0.5059 GB, free: 4.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.142, allocations: 51.41 kB / 0.506 GB, free: 4.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1421, allocations: 164.1 kB / 0.5061 GB, free: 4.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1421, allocations: 25.7 kB / 0.5062 GB, free: 4.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.1422, allocations: 112.2 kB / 0.5063 GB, free: 4.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.1423, allocations: 43.64 kB / 0.5063 GB, free: 4.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.1423, allocations: 29.72 kB / 0.5063 GB, free: 4.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1425, allocations: 326.8 kB / 0.5067 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/0.1425, allocations: 31.98 kB / 0.5067 GB, free: 3.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.078e-05/0.1426, allocations: 62.48 kB / 0.5067 GB, free: 3.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.1431, allocations: 177.7 kB / 0.5069 GB, free: 3.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1431, allocations: 3.938 kB / 0.5069 GB, free: 3.406 MB / 382.1 MB Warning: The linear system: 1 : G.Pm = G.Pcmd 2 : G.Pm = G.Pcmd [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ G.Pm ; G.Pcmd ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G.Pcmd since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005273/0.1436, allocations: 356.5 kB / 0.5073 GB, free: 3.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1436, allocations: 4 kB / 0.5073 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1436, allocations: 8.062 kB / 0.5073 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.1438, allocations: 49.62 kB / 0.5073 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1439, allocations: 23.94 kB / 0.5073 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2845/0.4284, allocations: 4.629 MB / 0.5119 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.4286, allocations: 2.781 kB / 0.5119 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.4286, allocations: 7.344 kB / 0.5119 GB, free: 12.8 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: G.deltag:VARIABLE(unit = \"rad\" fixed = true ) \"generator angle wrt port\" type: Real 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.4287, allocations: 130.1 kB / 0.512 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.4288, allocations: 13.31 kB / 0.512 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.4288, allocations: 19.61 kB / 0.512 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4288, allocations: 2.5 kB / 0.512 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.4288, allocations: 0 / 0.512 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4288, allocations: 0.6562 kB / 0.512 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000666/0.4295, allocations: 456.1 kB / 0.5125 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4295, allocations: 0 / 0.5125 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.4296, allocations: 22.78 kB / 0.5125 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001797/0.4298, allocations: 43.16 kB / 0.5125 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.4298, allocations: 3.344 kB / 0.5125 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.4308, allocations: 1.619 MB / 0.5141 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4308, allocations: 6.797 kB / 0.5141 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.4312, allocations: 277.7 kB / 0.5144 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.4312, allocations: 89.16 kB / 0.5145 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.4313, allocations: 6.875 kB / 0.5145 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.4314, allocations: 5.281 kB / 0.5145 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.4314, allocations: 7.234 kB / 0.5145 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.4314, allocations: 9.844 kB / 0.5145 GB, free: 10.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.793e-05/0.4315, allocations: 122.7 kB / 0.5146 GB, free: 10.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4315, allocations: 0 / 0.5146 GB, free: 10.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004009/0.4319, allocations: 28.09 kB / 0.5146 GB, free: 10.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (G.thetap,G.deltag,G.wg,Gact.y) * 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 (9): * Single equations (assignments): 8 * 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.0001048/0.432, allocations: 110.4 kB / 0.5147 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004184/0.4324, allocations: 314.7 kB / 0.515 GB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4324, allocations: 0 / 0.515 GB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.4326, allocations: 163 kB / 0.5152 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.4329, allocations: 21.27 kB / 0.5152 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009565/0.4338, allocations: 0.5053 MB / 0.5157 GB, free: 9.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.434, allocations: 0.7132 MB / 0.5164 GB, free: 9.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.651e-05/0.4341, allocations: 8.859 kB / 0.5164 GB, free: 9.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.4341, allocations: 13.12 kB / 0.5164 GB, free: 9.156 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4341, allocations: 1.156 kB / 0.5164 GB, free: 9.156 MB / 382.1 MB Notification: Performance of Templates: time 0.005771/0.4399, allocations: 1.649 MB / 0.518 GB, free: 9.039 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.makefile [Timeout 660] (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.sim & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.14970263838768] Failed to read output from testmodel.py, exit status != 0: 0.4493615976534784 0.462432301 0.321280969 Calling exit ...