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.00104/0.00104, allocations: 75.59 kB / 20.8 MB, free: 3.715 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.001143/0.001143, allocations: 170 kB / 24.09 MB, free: 428 kB / 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.9251/0.9251, allocations: 177.1 MB / 204.4 MB, free: 5.684 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.06273/0.06273, allocations: 18.12 MB / 279 MB, free: 11.47 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 2.003e-06/2.003e-06, allocations: 1.125 kB / 414.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.748e-05, allocations: 2.844 kB / 414.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P): time 0.001736/0.001764, allocations: 1.476 MB / 415.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004966/0.00226, allocations: 426.4 kB / 416.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.002301, allocations: 1.844 kB / 416.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.002337, allocations: 9.703 kB / 416.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.002511, allocations: 19.14 kB / 416.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.148e-05/0.002553, allocations: 11.08 kB / 416.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.401e-05/0.002637, allocations: 72.27 kB / 416.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.287e-05/0.0027, allocations: 12.3 kB / 416.2 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.002863, allocations: 32.16 kB / 416.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.655e-05/0.00295, allocations: 36.92 kB / 416.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.002967, allocations: 2.531 kB / 416.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.002979, allocations: 3.875 kB / 416.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.002995, allocations: 13.33 kB / 416.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.003026, allocations: 21.14 kB / 416.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 9.166e-05/0.003117, allocations: 43.69 kB / 416.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.00312, allocations: 0 / 416.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.003121, allocations: 0 / 416.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.003126, allocations: 1.312 kB / 416.3 MB, free: 12.28 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.0003898/0.003516, allocations: 317 kB / 416.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.003552, allocations: 10.42 kB / 416.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.003583, allocations: 8.703 kB / 416.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.234e-05/0.003675, allocations: 116.2 kB / 416.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.003694, allocations: 9.438 kB / 416.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.003719, allocations: 5.422 kB / 416.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.284e-05/0.003812, allocations: 62.53 kB / 416.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.00382, allocations: 192 / 416.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.003829, allocations: 3.938 kB / 416.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.003835, allocations: 2.219 kB / 416.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.477e-05/0.003889, allocations: 36.97 kB / 416.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.004233, allocations: 248 kB / 417.1 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.004447, allocations: 85.34 kB / 417.2 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.004486, allocations: 31.12 kB / 417.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.004498, allocations: 1.375 kB / 417.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.004511, allocations: 36.97 kB / 417.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.004513, allocations: 1.375 kB / 417.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005493/0.005062, allocations: 305.1 kB / 417.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.005082, allocations: 56.72 kB / 417.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.005155, allocations: 138.2 kB / 417.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.005162, allocations: 27.08 kB / 417.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.005197, allocations: 100.3 kB / 417.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.005215, allocations: 36.14 kB / 417.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.005245, allocations: 28.52 kB / 418 MB, free: 10.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.037e-05/0.005275, allocations: 320.7 kB / 418.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.048e-05/0.005306, allocations: 19.33 kB / 418.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.57e-05/0.005351, allocations: 51.33 kB / 418.4 MB, free: 10.5 MB / 330.7 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.005626, allocations: 153.1 kB / 418.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.005628, allocations: 0 / 418.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001526/0.00578, allocations: 133 kB / 418.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.005795, allocations: 12.02 kB / 418.6 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.0058, allocations: 0 / 418.6 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001123/0.005912, allocations: 32.2 kB / 418.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.005977, allocations: 25.22 kB / 418.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007199/0.006697, allocations: 1.446 MB / 420.1 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.006735, allocations: 2.938 kB / 420.1 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.006744, allocations: 4.625 kB / 420.2 MB, free: 8.93 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 6.396e-05/0.006808, allocations: 115.7 kB / 420.3 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.006824, allocations: 7.016 kB / 420.3 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.379e-05/0.006838, allocations: 16.39 kB / 420.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.00684, allocations: 1.25 kB / 420.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.006842, allocations: 7.938 kB / 420.3 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.006846, allocations: 1.859 kB / 420.3 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.007104, allocations: 329.9 kB / 420.6 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.007107, allocations: 4.641 kB / 420.6 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.00716, allocations: 16.27 kB / 420.6 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.76e-05/0.007247, allocations: 39.14 kB / 420.7 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.007255, allocations: 6.016 kB / 420.7 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004954/0.007751, allocations: 1.448 MB / 422.1 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007751, allocations: 0 / 422.1 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.007911, allocations: 243 kB / 422.4 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.007921, allocations: 7.781 kB / 422.4 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.007932, allocations: 5.922 kB / 422.4 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.085e-05/0.007982, allocations: 5.953 kB / 422.4 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.008006, allocations: 10.58 kB / 422.4 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.008012, allocations: 7.453 kB / 422.4 MB, free: 6.863 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.651e-05/0.008048, allocations: 97.69 kB / 422.5 MB, free: 6.785 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008048, allocations: 0 / 422.5 MB, free: 6.785 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.008273, allocations: 28.62 kB / 422.5 MB, free: 6.777 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.438e-05/0.008347, allocations: 102.9 kB / 422.6 MB, free: 6.688 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.008593, allocations: 179 kB / 422.8 MB, free: 6.555 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.008595, allocations: 4 kB / 422.8 MB, free: 6.551 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.003e-05/0.008675, allocations: 142.5 kB / 422.9 MB, free: 6.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.008844, allocations: 8.922 kB / 423 MB, free: 6.426 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.009352, allocations: 363.3 kB / 423.3 MB, free: 6.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.68e-05/0.009409, allocations: 80.2 kB / 423.4 MB, free: 6.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.833e-05/0.009437, allocations: 6.531 kB / 423.4 MB, free: 6.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.009464, allocations: 13.02 kB / 423.4 MB, free: 6.082 MB / 330.7 MB Notification: Performance of SimCode: time 3.3e-07/0.009464, allocations: 0 / 423.4 MB, free: 6.082 MB / 330.7 MB Notification: Performance of Templates: time 0.003162/0.01263, allocations: 1.149 MB / 424.6 MB, free: 5.961 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_prescribed_P.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.976161486469209] Failed to read output from testmodel.py, exit status != 0: 0.17131569888442755 0.027656463000000003 0.02259602 Calling exit ...