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.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.0008496/0.0008496, allocations: 72.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0008412/0.0008412, allocations: 169.2 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.8636/0.8636, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.06421/0.06421, allocations: 18.14 MB / 278.1 MB, free: 11.54 MB / 266.7 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_1stOrder_prescribed_P,fileNamePrefix="AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_1stOrder_prescribed_P",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P,fileNamePrefix="AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_1stOrder_prescribed_P",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 412.7 MB, free: 13.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.286e-05, allocations: 3.703 kB / 412.7 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P): time 0.002014/0.002036, allocations: 1.641 MB / 414.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000617/0.002653, allocations: 470.8 kB / 414.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.002725, allocations: 1.812 kB / 414.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.361e-05/0.002769, allocations: 14.91 kB / 414.8 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.002944, allocations: 33.59 kB / 414.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.509e-05/0.003009, allocations: 27.33 kB / 414.9 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.003152, allocations: 121.7 kB / 415 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.003313, allocations: 24.23 kB / 415 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.003484, allocations: 65.52 kB / 415.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.003574, allocations: 42.78 kB / 415.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.003594, allocations: 8.469 kB / 415.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.446e-05/0.003609, allocations: 9.062 kB / 415.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.00363, allocations: 23.55 kB / 415.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.003668, allocations: 35.25 kB / 415.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.00382, allocations: 101.9 kB / 415.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.003824, allocations: 0 / 415.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.003825, allocations: 1.219 kB / 415.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.00383, allocations: 0 / 415.3 MB, free: 12.34 MB / 330.7 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.0004434/0.004273, allocations: 351.2 kB / 415.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.004323, allocations: 9.516 kB / 415.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.431e-05/0.004397, allocations: 44.8 kB / 415.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.004428, allocations: 10.77 kB / 415.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.004668, allocations: 162 kB / 415.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.00468, allocations: 3.75 kB / 415.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.004703, allocations: 11.06 kB / 415.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.004841, allocations: 89.72 kB / 415.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.004849, allocations: 4 kB / 415.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.004858, allocations: 1.344 kB / 416 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.004864, allocations: 5.672 kB / 416 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.544e-05/0.00494, allocations: 45.2 kB / 416 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.005449, allocations: 341.5 kB / 416.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.005684, allocations: 93.19 kB / 416.4 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.005736, allocations: 42.17 kB / 416.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.005749, allocations: 5.375 kB / 416.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.005764, allocations: 32.78 kB / 416.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/0.005766, allocations: 0 / 416.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006137/0.00638, allocations: 371.6 kB / 416.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.006403, allocations: 52.78 kB / 416.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.00651, allocations: 162.3 kB / 417.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.006517, allocations: 31.08 kB / 417.1 MB, free: 10.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.006558, allocations: 105.2 kB / 417.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.006588, allocations: 57.02 kB / 417.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.006623, allocations: 33.41 kB / 417.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.62e-05/0.00666, allocations: 327 kB / 417.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-05/0.006701, allocations: 31.92 kB / 417.6 MB, free: 10.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.515e-05/0.006756, allocations: 56.64 kB / 417.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.007063, allocations: 174.5 kB / 417.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.007064, allocations: 0.6562 kB / 417.9 MB, free: 10.23 MB / 330.7 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.000349/0.007413, allocations: 205.2 kB / 418.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.00743, allocations: 5.672 kB / 418.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.007436, allocations: 5.938 kB / 418.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/0.007586, allocations: 47.42 kB / 418.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.058e-05/0.007657, allocations: 24.09 kB / 418.2 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.008943, allocations: 4.428 MB / 422.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.008997, allocations: 6.469 kB / 422.6 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.009005, allocations: 3.281 kB / 422.6 MB, free: 5.598 MB / 330.7 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 8.992e-05/0.009095, allocations: 133.9 kB / 422.7 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.009116, allocations: 10.67 kB / 422.7 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.689e-05/0.009133, allocations: 19.62 kB / 422.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.009135, allocations: 1.469 kB / 422.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.009139, allocations: 1.781 kB / 422.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.009143, allocations: 0.7031 kB / 422.8 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.00948, allocations: 412.2 kB / 423.2 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.009483, allocations: 5.969 kB / 423.2 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.259e-05/0.009555, allocations: 23.2 kB / 423.2 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.639e-05/0.009652, allocations: 39.59 kB / 423.2 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.009661, allocations: 6.75 kB / 423.2 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005311/0.01019, allocations: 1.504 MB / 424.7 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.01019, allocations: 0.5625 kB / 424.7 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.01038, allocations: 290.9 kB / 425 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.0104, allocations: 12.67 kB / 425 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.01041, allocations: 6.812 kB / 425 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.299e-05/0.01046, allocations: 2.141 kB / 425 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.01048, allocations: 11.81 kB / 425.1 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.01049, allocations: 5.656 kB / 425.1 MB, free: 3.371 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.823e-05/0.01055, allocations: 120.2 kB / 425.2 MB, free: 3.285 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01055, allocations: 0 / 425.2 MB, free: 3.285 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000263/0.01081, allocations: 30.03 kB / 425.2 MB, free: 3.281 MB / 330.7 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.0003171/0.01113, allocations: 0.8257 MB / 426 MB, free: 2.531 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.01142, allocations: 305.5 kB / 426.3 MB, free: 2.277 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01142, allocations: 1.25 kB / 426.3 MB, free: 2.277 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/0.01152, allocations: 164.1 kB / 426.5 MB, free: 2.141 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.01175, allocations: 30.25 kB / 426.5 MB, free: 2.125 MB / 330.7 MB Warning: The linear system: 1 : G.Pm = G.Pcmd 2 : G.Pm = G.Pcmd [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ G.Pcmd ; G.Pm ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable G.Pm since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.0133, allocations: 2.063 MB / 428.6 MB, free: 496 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.016e-05/0.01337, allocations: 102.9 kB / 428.7 MB, free: 420 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.798e-05/0.01341, allocations: 9.141 kB / 428.7 MB, free: 420 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.01346, allocations: 36.78 kB / 428.7 MB, free: 392 kB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01346, allocations: 0 / 428.7 MB, free: 392 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.03651, allocations: 3.995 MB / 432.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/8.167, allocations: 6.25 kB / 432.7 MB, free: 15.29 MB / 346.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_1stOrder_prescribed_P_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_1stOrder_prescribed_P.fmu > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_1stOrder_prescribed_P.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.018486966378987] Failed to read output from testmodel.py, exit status != 0: 8.417505899444222 8.268147755 8.262190405 Calling exit ...