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.0008678/0.0008678, 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.0008323/0.0008323, 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.8734/0.8734, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.06408/0.06408, allocations: 18.12 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_prescribed_P,fileNamePrefix="AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_prescribed_P",fmuType="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 412.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.944e-05, allocations: 4.406 kB / 412.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P): time 0.001698/0.001717, allocations: 1.472 MB / 414.2 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005119/0.002229, allocations: 426 kB / 414.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.002269, allocations: 0 / 414.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.002306, allocations: 7.531 kB / 414.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.002451, allocations: 31.55 kB / 414.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.627e-05/0.002487, allocations: 6.859 kB / 414.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.473e-05/0.002562, allocations: 71.36 kB / 414.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.079e-05/0.002622, allocations: 12.16 kB / 414.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.002765, allocations: 34.38 kB / 414.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.002835, allocations: 31.48 kB / 414.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.002851, allocations: 3.25 kB / 414.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-06/0.002861, allocations: 4.969 kB / 414.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.002875, allocations: 14.11 kB / 414.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.002902, allocations: 23.88 kB / 414.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 8.059e-05/0.002982, allocations: 47.55 kB / 414.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002984, allocations: 0 / 414.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.002985, allocations: 0 / 414.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.002988, allocations: 0 / 414.9 MB, free: 12.55 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003401/0.003328, allocations: 300 kB / 415.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.003365, allocations: 12.28 kB / 415.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.003411, allocations: 41.22 kB / 415.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.003434, allocations: 11.97 kB / 415.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.862e-05/0.003513, allocations: 128.5 kB / 415.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.003522, allocations: 4.469 kB / 415.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.003539, allocations: 11.3 kB / 415.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.641e-05/0.003625, allocations: 66.67 kB / 415.4 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.003633, allocations: 5.281 kB / 415.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.003641, allocations: 2.812 kB / 415.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.003646, allocations: 4.984 kB / 415.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.352e-05/0.0037, allocations: 29.47 kB / 415.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.004044, allocations: 279.1 kB / 415.7 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.004254, allocations: 89.19 kB / 415.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.004292, allocations: 29.73 kB / 415.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.004303, allocations: 2.109 kB / 415.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.192e-05/0.004314, allocations: 36.28 kB / 415.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.004316, allocations: 0 / 415.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004857/0.004801, allocations: 307.2 kB / 416.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.00482, allocations: 52.84 kB / 416.2 MB, free: 11.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.004889, allocations: 138 kB / 416.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.44e-06/0.004894, allocations: 30.8 kB / 416.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.00492, allocations: 98.38 kB / 416.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.004937, allocations: 38.78 kB / 416.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.004968, allocations: 28.88 kB / 416.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.045e-05/0.004999, allocations: 320.2 kB / 416.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.999e-05/0.005029, allocations: 20.16 kB / 416.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.005072, allocations: 48.89 kB / 416.9 MB, free: 10.78 MB / 330.7 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.005325, allocations: 144.8 kB / 417.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.005326, allocations: 0 / 417.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001324/0.005459, allocations: 140.5 kB / 417.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.005471, allocations: 6.203 kB / 417.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.005476, allocations: 0 / 417.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001001/0.005576, allocations: 36.36 kB / 417.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.155e-05/0.005627, allocations: 21.3 kB / 417.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006427/0.00627, allocations: 1.475 MB / 418.8 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.006309, allocations: 2.031 kB / 418.8 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.006316, allocations: 8.219 kB / 418.8 MB, free: 9.172 MB / 330.7 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 (12): * Single equations (assignments): 11 * 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 5.724e-05/0.006373, allocations: 119.4 kB / 418.9 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.006389, allocations: 12.11 kB / 418.9 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.224e-05/0.006401, allocations: 19.16 kB / 418.9 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.006403, allocations: 1.375 kB / 418.9 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.006404, allocations: 0 / 418.9 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.006408, allocations: 2.031 kB / 418.9 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.006698, allocations: 357.1 kB / 419.3 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.0067, allocations: 0 / 419.3 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.006757, allocations: 15.48 kB / 419.3 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.939e-05/0.006837, allocations: 35.36 kB / 419.3 MB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.006845, allocations: 3.281 kB / 419.3 MB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004865/0.007331, allocations: 1.47 MB / 420.8 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.007333, allocations: 1.875 kB / 420.8 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.007481, allocations: 238.7 kB / 421 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-06/0.007489, allocations: 7.234 kB / 421 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.007499, allocations: 11.36 kB / 421 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.704e-05/0.007546, allocations: 0 / 421 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.007565, allocations: 12.78 kB / 421.1 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.007569, allocations: 2.656 kB / 421.1 MB, free: 7.051 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.269e-05/0.007602, allocations: 109 kB / 421.2 MB, free: 6.965 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007602, allocations: 0 / 421.2 MB, free: 6.965 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000211/0.007813, allocations: 24.22 kB / 421.2 MB, free: 6.961 MB / 330.7 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 (7): * Single equations (assignments): 6 * 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.0002352/0.008048, allocations: 0.7872 MB / 422 MB, free: 6.234 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.008247, allocations: 173.8 kB / 422.1 MB, free: 6.105 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.008249, allocations: 1.625 kB / 422.2 MB, free: 6.105 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.201e-05/0.008321, allocations: 150.8 kB / 422.3 MB, free: 5.977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.008475, allocations: 6.469 kB / 422.3 MB, free: 5.973 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.009508, allocations: 1.726 MB / 424 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.765e-05/0.009556, allocations: 86.14 kB / 424.1 MB, free: 4.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.057e-05/0.009586, allocations: 7.625 kB / 424.1 MB, free: 4.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.009626, allocations: 22.31 kB / 424.1 MB, free: 4.414 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009627, allocations: 0 / 424.1 MB, free: 4.414 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.02736, allocations: 3.151 MB / 427.3 MB, free: 3.402 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/7.814, allocations: 10.45 kB / 427.3 MB, free: 3.398 MB / 330.7 MB " [Timeout remaining time 652] (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: 9.659558232873678] Failed to read output from testmodel.py, exit status != 0: 8.047713099978864 7.914359432 7.908615874 Calling exit ...