Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_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.0009817/0.0009817, allocations: 76.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.001539/0.001539, allocations: 165.2 kB / 23.23 MB, free: 1.336 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.9019/0.9019, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.06254/0.06254, allocations: 18.13 MB / 278.1 MB, free: 11.55 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_order0_fixed_P,fileNamePrefix="AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_fixed_P",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,fileNamePrefix="AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_fixed_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.19 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.518e-05, allocations: 5 kB / 412.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.001798/0.001823, allocations: 1.586 MB / 414.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005482/0.002371, allocations: 457.4 kB / 414.7 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.002419, allocations: 1.375 kB / 414.7 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.95e-05/0.002459, allocations: 15.11 kB / 414.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.002631, allocations: 27.89 kB / 414.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.569e-05/0.002687, allocations: 22.59 kB / 414.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.934e-05/0.002786, allocations: 102.3 kB / 414.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.002904, allocations: 13.58 kB / 414.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.003083, allocations: 59.06 kB / 414.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.245e-05/0.003165, allocations: 37.27 kB / 415 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.003185, allocations: 8.062 kB / 415 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.003197, allocations: 13 kB / 415 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.003215, allocations: 23.61 kB / 415 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.003247, allocations: 31.88 kB / 415.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.003374, allocations: 88.5 kB / 415.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.003379, allocations: 1.812 kB / 415.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.00338, allocations: 0 / 415.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.003385, allocations: 0 / 415.1 MB, free: 12.41 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004214/0.003807, allocations: 327.1 kB / 415.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.003851, allocations: 9.141 kB / 415.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.741e-05/0.003918, allocations: 51.38 kB / 415.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.003948, allocations: 10.39 kB / 415.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.004055, allocations: 132.2 kB / 415.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.00407, allocations: 7.062 kB / 415.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.00409, allocations: 11.25 kB / 415.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.004208, allocations: 83.89 kB / 415.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.004215, allocations: 3.938 kB / 415.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.004224, allocations: 5.375 kB / 415.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.004229, allocations: 1.375 kB / 415.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.097e-05/0.0043, allocations: 40.86 kB / 415.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.004763, allocations: 331.3 kB / 416.1 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.005015, allocations: 91.22 kB / 416.2 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.005067, allocations: 38.95 kB / 416.3 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.005079, allocations: 1.469 kB / 416.3 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.273e-05/0.005092, allocations: 33.08 kB / 416.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.936e-06/0.005095, allocations: 1.312 kB / 416.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006703/0.005765, allocations: 334.6 kB / 416.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.005795, allocations: 57.78 kB / 416.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.005886, allocations: 151.1 kB / 416.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.005894, allocations: 30.86 kB / 416.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.005933, allocations: 99.92 kB / 417 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.005956, allocations: 43.81 kB / 417 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.005993, allocations: 29.41 kB / 417 MB, free: 10.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.309e-05/0.006026, allocations: 325.8 kB / 417.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.847e-05/0.006065, allocations: 25.52 kB / 417.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.222e-05/0.006117, allocations: 59.27 kB / 417.4 MB, free: 10.46 MB / 330.7 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.006444, allocations: 165.6 kB / 417.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.006446, allocations: 1.125 kB / 417.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001789/0.006625, allocations: 156.5 kB / 417.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.006641, allocations: 11.44 kB / 417.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.006646, allocations: 1.906 kB / 417.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/0.006779, allocations: 37.27 kB / 417.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.872e-05/0.006847, allocations: 22.42 kB / 417.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008984/0.007746, allocations: 1.511 MB / 419.3 MB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.007805, allocations: 5.984 kB / 419.3 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.007814, allocations: 4.125 kB / 419.3 MB, free: 8.797 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 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: G.Pm = G.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 (13): * 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: 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.0001085/0.007923, allocations: 125.2 kB / 419.5 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.007943, allocations: 9.453 kB / 419.5 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.823e-05/0.007961, allocations: 15.47 kB / 419.5 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.007964, allocations: 1.375 kB / 419.5 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.007968, allocations: 5.938 kB / 419.5 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.007972, allocations: 0.6094 kB / 419.5 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.00831, allocations: 393.8 kB / 419.9 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008312, allocations: 0 / 419.9 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.65e-05/0.008378, allocations: 21.64 kB / 419.9 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.008482, allocations: 44.61 kB / 419.9 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.008493, allocations: 10.23 kB / 420 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005931/0.009087, allocations: 1.506 MB / 421.5 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.009089, allocations: 1.156 kB / 421.5 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.009284, allocations: 263.6 kB / 421.7 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.009299, allocations: 13.2 kB / 421.7 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.00931, allocations: 2.297 kB / 421.7 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.438e-05/0.009365, allocations: 9.75 kB / 421.7 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.009386, allocations: 8.047 kB / 421.7 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.009394, allocations: 9.109 kB / 421.8 MB, free: 6.586 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.169e-05/0.009446, allocations: 111.6 kB / 421.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009446, allocations: 1.406 kB / 421.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.009693, allocations: 25.75 kB / 421.9 MB, free: 6.496 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (G.thetap,G.deltag,G.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 (8): * Single equations (assignments): 7 * 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.0003102/0.01, allocations: 0.8015 MB / 422.7 MB, free: 5.758 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.01026, allocations: 195.8 kB / 422.9 MB, free: 5.613 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.01026, allocations: 5.031 kB / 422.9 MB, free: 5.609 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.818e-05/0.01036, allocations: 161.4 kB / 423 MB, free: 5.473 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.01054, allocations: 11.72 kB / 423.1 MB, free: 5.465 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.01189, allocations: 1.885 MB / 424.9 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.932e-05/0.01195, allocations: 101.4 kB / 425 MB, free: 3.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.359e-05/0.01198, allocations: 8.938 kB / 425.1 MB, free: 3.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.01203, allocations: 32.19 kB / 425.1 MB, free: 3.816 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01203, allocations: 0 / 425.1 MB, free: 3.816 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.0331, allocations: 3.521 MB / 428.6 MB, free: 2.785 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/7.755, allocations: 4.141 kB / 428.6 MB, free: 2.785 MB / 330.7 MB " [Timeout remaining time 652] (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_fixed_P_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_fixed_P.fmu > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.644303240813315] Failed to read output from testmodel.py, exit status != 0: 7.99975997954607 7.855899118 7.850757603 Calling exit ...