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.0008003/0.0008003, 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.0007701/0.0007701, allocations: 173.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.909/0.909, 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.06158/0.06158, allocations: 18.13 MB / 278.1 MB, free: 11.53 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.653e-06/1.653e-06, allocations: 0 / 412.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.21e-05, allocations: 2.281 kB / 412.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.001951/0.001973, allocations: 1.585 MB / 414.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005955/0.002568, allocations: 458.1 kB / 414.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.967e-05/0.002628, allocations: 1.344 kB / 414.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.93e-05/0.002667, allocations: 10.12 kB / 414.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.002826, allocations: 33.41 kB / 414.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.656e-05/0.002883, allocations: 17.09 kB / 414.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.949e-05/0.002982, allocations: 111.1 kB / 414.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.003095, allocations: 16.28 kB / 414.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.003246, allocations: 48.12 kB / 414.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.114e-05/0.003328, allocations: 42.58 kB / 415 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.003347, allocations: 7.469 kB / 415 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.003359, allocations: 9.125 kB / 415 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.003379, allocations: 20.59 kB / 415 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.003413, allocations: 32.78 kB / 415.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.003531, allocations: 85.59 kB / 415.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003534, allocations: 0 / 415.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003535, allocations: 0 / 415.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.003539, allocations: 0 / 415.1 MB, free: 12.45 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.0003782/0.003918, allocations: 334.8 kB / 415.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.003959, allocations: 11.64 kB / 415.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.03e-05/0.004009, allocations: 47.55 kB / 415.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.004046, allocations: 9.016 kB / 415.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.299e-05/0.004139, allocations: 141 kB / 415.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.00415, allocations: 8.5 kB / 415.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.004168, allocations: 5.875 kB / 415.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.004273, allocations: 84.66 kB / 415.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.004281, allocations: 3.938 kB / 415.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.00429, allocations: 9.375 kB / 415.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.004294, allocations: 1.375 kB / 415.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.684e-05/0.004361, allocations: 44.03 kB / 415.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.004751, allocations: 322.7 kB / 416.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.004948, allocations: 90.67 kB / 416.2 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.004999, allocations: 40.11 kB / 416.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.00501, allocations: 1.469 kB / 416.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.005024, allocations: 32.75 kB / 416.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.005025, allocations: 0 / 416.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005495/0.005574, allocations: 341.8 kB / 416.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.005598, allocations: 53.78 kB / 416.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.39e-05/0.005682, allocations: 149.7 kB / 416.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.00569, allocations: 30.89 kB / 416.9 MB, free: 11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.005727, allocations: 103.8 kB / 417 MB, free: 10.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.005747, allocations: 39.59 kB / 417 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.005784, allocations: 29.7 kB / 417 MB, free: 10.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.76e-05/0.005822, allocations: 325.2 kB / 417.3 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.857e-05/0.00586, allocations: 30.86 kB / 417.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-05/0.00591, allocations: 54.88 kB / 417.4 MB, free: 10.48 MB / 330.7 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.006207, allocations: 170.9 kB / 417.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.006209, allocations: 5.125 kB / 417.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001622/0.006371, allocations: 154.9 kB / 417.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.006384, allocations: 5.844 kB / 417.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.00639, allocations: 2.766 kB / 417.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000114/0.006504, allocations: 35.84 kB / 417.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/0.006561, allocations: 22.78 kB / 417.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007231/0.007284, allocations: 1.508 MB / 419.3 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.894e-05/0.007323, allocations: 5.984 kB / 419.3 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.007329, allocations: 4.125 kB / 419.3 MB, free: 8.82 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 6.755e-05/0.007397, allocations: 124.2 kB / 419.5 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.007413, allocations: 14.25 kB / 419.5 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.433e-05/0.007427, allocations: 15.7 kB / 419.5 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.007429, allocations: 1.375 kB / 419.5 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.007431, allocations: 1.375 kB / 419.5 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.007435, allocations: 1.922 kB / 419.5 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.007717, allocations: 397.3 kB / 419.9 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.00772, allocations: 0.5156 kB / 419.9 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.007773, allocations: 21.78 kB / 419.9 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.654e-05/0.007859, allocations: 48.62 kB / 420 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.007869, allocations: 6.078 kB / 420 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005209/0.00839, allocations: 1.502 MB / 421.5 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008391, allocations: 1.625 kB / 421.5 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.008566, allocations: 267.5 kB / 421.7 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.008578, allocations: 8.344 kB / 421.7 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.008588, allocations: 2.984 kB / 421.7 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.008638, allocations: 5.797 kB / 421.7 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.008661, allocations: 8.234 kB / 421.7 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.008668, allocations: 8.688 kB / 421.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.665e-05/0.008714, allocations: 111.9 kB / 421.9 MB, free: 6.527 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008714, allocations: 0 / 421.9 MB, free: 6.527 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.008935, allocations: 28.28 kB / 421.9 MB, free: 6.523 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.0002702/0.009205, allocations: 0.8061 MB / 422.7 MB, free: 5.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.009436, allocations: 195.4 kB / 422.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009437, allocations: 0 / 422.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.862e-05/0.009526, allocations: 161.8 kB / 423 MB, free: 5.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.00969, allocations: 13.11 kB / 423.1 MB, free: 5.492 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.01094, allocations: 1.887 MB / 424.9 MB, free: 3.949 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.93e-05/0.011, allocations: 100.8 kB / 425 MB, free: 3.867 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.27e-05/0.01103, allocations: 9.75 kB / 425.1 MB, free: 3.867 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.01108, allocations: 32.58 kB / 425.1 MB, free: 3.844 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01108, allocations: 3.938 kB / 425.1 MB, free: 3.84 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.03051, allocations: 3.521 MB / 428.6 MB, free: 2.809 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.291/8.321, allocations: 5.172 kB / 428.6 MB, free: 2.809 MB / 330.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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: 10.357642653398216] Failed to read output from testmodel.py, exit status != 0: 8.582999414764345 8.422968453 8.417407318 Calling exit ...