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.001175/0.001175, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.001229/0.001229, allocations: 165.2 kB / 23.98 MB, free: 0.582 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.846/0.846, allocations: 177.1 MB / 204.3 MB, free: 5.75 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.05925/0.05925, allocations: 18.12 MB / 278.8 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: translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") translateModel(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 413.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.508e-05, allocations: 2.984 kB / 413.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P): time 0.001541/0.001566, allocations: 1.478 MB / 415.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000471/0.002037, allocations: 426.5 kB / 415.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.002078, allocations: 0 / 415.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.715e-05/0.002115, allocations: 6.609 kB / 415.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.002266, allocations: 28.75 kB / 415.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.504e-05/0.002301, allocations: 9.719 kB / 415.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.74e-05/0.002378, allocations: 72.81 kB / 415.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.32e-05/0.002442, allocations: 14.06 kB / 416 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.00259, allocations: 39.25 kB / 416 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.002661, allocations: 32.48 kB / 416 MB, free: 12.4 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.002676, allocations: 3.375 kB / 416 MB, free: 12.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.002685, allocations: 3.562 kB / 416 MB, free: 12.4 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.0027, allocations: 9.438 kB / 416 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.002727, allocations: 26.19 kB / 416.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 7.93e-05/0.002806, allocations: 38.3 kB / 416.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.002808, allocations: 1.125 kB / 416.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.002809, allocations: 0 / 416.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.002814, allocations: 1.25 kB / 416.1 MB, free: 12.37 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.0003633/0.003177, allocations: 308.2 kB / 416.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.00321, allocations: 10.55 kB / 416.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.003241, allocations: 8.734 kB / 416.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.596e-05/0.003327, allocations: 125.5 kB / 416.6 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.00334, allocations: 7.594 kB / 416.6 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.003359, allocations: 4.172 kB / 416.6 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.45e-05/0.003444, allocations: 61.89 kB / 416.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.003452, allocations: 1.969 kB / 416.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.003461, allocations: 7.938 kB / 416.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.003465, allocations: 5.625 kB / 416.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.003513, allocations: 32.28 kB / 416.7 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.003854, allocations: 249.2 kB / 416.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.004054, allocations: 83.95 kB / 417 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.00409, allocations: 31.73 kB / 417 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.004101, allocations: 1.375 kB / 417 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.051e-05/0.004112, allocations: 32.55 kB / 417.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.004113, allocations: 0 / 417.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004738/0.004587, allocations: 318.7 kB / 417.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.004608, allocations: 52.78 kB / 417.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.004688, allocations: 140.5 kB / 417.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.004696, allocations: 25.81 kB / 417.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.004729, allocations: 98.36 kB / 417.7 MB, free: 11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.004745, allocations: 38.83 kB / 417.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.004774, allocations: 28.36 kB / 417.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.522e-05/0.004799, allocations: 320.3 kB / 418.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/0.004827, allocations: 20.47 kB / 418.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/0.004866, allocations: 50.7 kB / 418.1 MB, free: 10.59 MB / 330.7 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.005125, allocations: 156.7 kB / 418.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.005127, allocations: 0 / 418.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001353/0.005262, allocations: 137.5 kB / 418.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.005275, allocations: 9.859 kB / 418.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.005279, allocations: 0 / 418.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001012/0.00538, allocations: 33.33 kB / 418.5 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.301e-05/0.005433, allocations: 20.16 kB / 418.5 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006241/0.006057, allocations: 1.438 MB / 419.9 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.006094, allocations: 6.797 kB / 419.9 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.0061, allocations: 7.516 kB / 419.9 MB, free: 9.016 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.625e-05/0.006156, allocations: 119.3 kB / 420 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.006172, allocations: 8.797 kB / 420.1 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.14e-05/0.006183, allocations: 14.53 kB / 420.1 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006185, allocations: 5.469 kB / 420.1 MB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.006187, allocations: 5.469 kB / 420.1 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.00619, allocations: 0.7031 kB / 420.1 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.006411, allocations: 336.2 kB / 420.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.006412, allocations: 0 / 420.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-05/0.006459, allocations: 14.97 kB / 420.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.022e-05/0.00654, allocations: 39.89 kB / 420.5 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.006547, allocations: 1.984 kB / 420.5 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004357/0.006983, allocations: 1.439 MB / 421.9 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.006984, allocations: 1.375 kB / 421.9 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.007125, allocations: 241.9 kB / 422.1 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-06/0.007133, allocations: 7.359 kB / 422.2 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-06/0.007142, allocations: 11.45 kB / 422.2 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.555e-05/0.007187, allocations: 0.7969 kB / 422.2 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.007206, allocations: 8.297 kB / 422.2 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.007212, allocations: 12.2 kB / 422.2 MB, free: 6.953 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.125e-05/0.007243, allocations: 99.45 kB / 422.3 MB, free: 6.871 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.007243, allocations: 1.375 kB / 422.3 MB, free: 6.871 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.007449, allocations: 27.8 kB / 422.3 MB, free: 6.863 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 7.257e-05/0.007522, allocations: 104.2 kB / 422.4 MB, free: 6.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.007759, allocations: 182.8 kB / 422.6 MB, free: 6.633 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.007761, allocations: 3.938 kB / 422.6 MB, free: 6.629 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.331e-05/0.007844, allocations: 138.8 kB / 422.7 MB, free: 6.512 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.008006, allocations: 9.359 kB / 422.7 MB, free: 6.508 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.008532, allocations: 387.3 kB / 423.1 MB, free: 6.215 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.593e-05/0.008588, allocations: 79.52 kB / 423.2 MB, free: 6.145 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.008614, allocations: 13.91 kB / 423.2 MB, free: 6.137 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.008615, allocations: 3.938 kB / 423.2 MB, free: 6.133 MB / 330.7 MB Notification: Performance of Templates: time 0.002622/0.01124, allocations: 1.398 MB / 424.6 MB, free: 6.055 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.makefile [Timeout 660] (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 & ./AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.466920991428196] Failed to read output from testmodel.py, exit status != 0: 0.16907575260847807 0.024796256000000003 0.020157005000000002 Calling exit ...