Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.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.001595/0.001595, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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 1.583/1.583, allocations: 230.6 MB / 252.7 MB, free: 14.24 MB / 206.1 MB " [Timeout remaining time 178] 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.001711/0.001711, allocations: 216.2 kB / 309.2 MB, free: 3.125 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6861/0.6861, allocations: 107.3 MB / 472.9 MB, free: 29.86 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002642, allocations: 96.75 kB / 0.6337 GB, free: 29.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.185, allocations: 80.17 MB / 0.712 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.008096/0.1931, allocations: 5.907 MB / 0.7178 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004715/0.1978, allocations: 1.955 MB / 0.7197 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005408/0.1983, allocations: 15.94 kB / 0.7197 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007347/0.1991, allocations: 237.9 kB / 0.7199 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.2013, allocations: 0.8559 MB / 0.7208 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.2027, allocations: 0.6258 MB / 0.7214 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001959/0.2047, allocations: 1.663 MB / 0.723 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000436/0.2051, allocations: 214.9 kB / 0.7232 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009404/0.2061, allocations: 0.712 MB / 0.7239 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.2071, allocations: 0.8009 MB / 0.7247 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002114/0.2073, allocations: 128 kB / 0.7248 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005504/0.2078, allocations: 267.9 kB / 0.7251 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003344/0.2081, allocations: 350.5 kB / 0.7254 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005667/0.2087, allocations: 0.5594 MB / 0.7259 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.2112, allocations: 1.751 MB / 0.7276 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2112, allocations: 3.938 kB / 0.7276 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2112, allocations: 0 / 0.7276 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.606e-05/0.2112, allocations: 4 kB / 0.7277 GB, free: 6.91 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.009735/0.221, allocations: 2.886 MB / 0.7305 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.221, allocations: 12.03 kB / 0.7305 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005192/0.2262, allocations: 0.7952 MB / 0.7313 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.2286, allocations: 0.8584 MB / 0.7321 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004641/0.229, allocations: 341.3 kB / 0.7324 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.2292, allocations: 91.89 kB / 0.7325 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.2317, allocations: 1.119 MB / 0.7336 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.2317, allocations: 7.938 kB / 0.7336 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-05/0.2318, allocations: 28 kB / 0.7336 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.2318, allocations: 20 kB / 0.7337 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.2341, allocations: 1.017 MB / 0.7346 GB, free: 15.56 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007044/0.2412, allocations: 2.901 MB / 0.7375 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007549/0.2487, allocations: 2.029 MB / 0.7395 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.2502, allocations: 0.6554 MB / 0.7401 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.395e-05/0.2503, allocations: 17 kB / 0.7401 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001801/0.2521, allocations: 0.8546 MB / 0.741 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=97): time 2.995e-06/0.2521, allocations: 0 / 0.741 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of matching and sorting (n=97): time 0.03004/0.2822, allocations: 7.087 MB / 0.7479 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.2823, allocations: 119.8 kB / 0.748 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.2842, allocations: 1.094 MB / 0.7491 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002264/0.2845, allocations: 41.7 kB / 0.7491 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004712/0.2849, allocations: 0.517 MB / 0.7496 GB, free: 36 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004796/0.2854, allocations: 373 kB / 0.75 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005339/0.2859, allocations: 283.5 kB / 0.7502 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2861, allocations: 304.9 kB / 0.7505 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.2879, allocations: 0.8271 MB / 0.7513 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.2898, allocations: 0.9961 MB / 0.7523 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02721/0.3171, allocations: 5.985 MB / 0.7581 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.3171, allocations: 0 / 0.7581 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01484/0.3319, allocations: 4.454 MB / 0.7625 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-05/0.332, allocations: 63.33 kB / 0.7626 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.332, allocations: 4 kB / 0.7626 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006411/0.3384, allocations: 1.619 MB / 0.7641 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.34, allocations: 279.6 kB / 0.7644 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02256/0.3626, allocations: 8.312 MB / 0.7725 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.3647, allocations: 195.2 kB / 0.7727 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.3649, allocations: 59.97 kB / 0.7728 GB, free: 7.984 MB / 0.545 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007374/0.3656, allocations: 322.6 kB / 0.7731 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.3659, allocations: 131.2 kB / 0.7732 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/0.3793, allocations: 3.898 MB / 0.777 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.3794, allocations: 8 kB / 0.777 GB, free: 3.582 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.3794, allocations: 8 kB / 0.777 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/0.3794, allocations: 3.984 kB / 0.777 GB, free: 3.57 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.3955, allocations: 4.935 MB / 0.7818 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.3955, allocations: 4 kB / 0.7818 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007055/0.3962, allocations: 107.8 kB / 0.782 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006048/0.4023, allocations: 1.574 MB / 0.7835 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/0.4025, allocations: 19.98 kB / 0.7835 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02289/0.4254, allocations: 9.214 MB / 0.7925 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.4254, allocations: 3.984 kB / 0.7925 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/0.4416, allocations: 4.821 MB / 0.7972 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/0.4422, allocations: 142.9 kB / 0.7974 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003544/0.4425, allocations: 24 kB / 0.7974 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.4439, allocations: 111.9 kB / 0.7975 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006747/0.4446, allocations: 204.6 kB / 0.7977 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.4447, allocations: 27.98 kB / 0.7977 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001416/0.4461, allocations: 0.7428 MB / 0.7984 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4461, allocations: 0 / 0.7984 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001823/0.448, allocations: 487.6 kB / 0.7989 GB, free: 12.84 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004888/0.4484, allocations: 151.1 kB / 0.799 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007549/0.456, allocations: 2.502 MB / 0.8015 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.456, allocations: 4 kB / 0.8015 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004724/0.4607, allocations: 1.561 MB / 0.803 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.4618, allocations: 110 kB / 0.8031 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00553/0.4673, allocations: 2.42 MB / 0.8055 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008916/0.4682, allocations: 0.5359 MB / 0.806 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005513/0.4688, allocations: 124 kB / 0.8061 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/0.4692, allocations: 75.42 kB / 0.8062 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of SimCode: time 1.312e-06/0.4692, allocations: 0 / 0.8062 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.4036/0.8728, allocations: 27.83 MB / 0.8334 GB, free: 86.71 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.689050102606416] Failed to read output from testmodel.py, exit status != 0: 0.8817785121500492 0.890841781 0.677455054 Calling exit ...