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.001186/0.001186, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.95/0.95, allocations: 177.2 MB / 200 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 179] 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.001197/0.001197, allocations: 172.3 kB / 256.6 MB, free: 13 MB / 250.7 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.2845/0.2845, allocations: 83.27 MB / 396.4 MB, free: 15.21 MB / 330.7 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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 493.9 MB, free: 7.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.37e-05, allocations: 4.875 kB / 493.9 MB, free: 7.324 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.005438/0.005462, allocations: 6.382 MB / 0.4885 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.008665, allocations: 2.003 MB / 0.4905 GB, free: 14.93 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000425/0.00909, allocations: 8 kB / 0.4905 GB, free: 14.92 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005745/0.009665, allocations: 241.9 kB / 0.4907 GB, free: 14.68 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.01107, allocations: 0.8906 MB / 0.4916 GB, free: 13.79 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008872/0.01196, allocations: 0.6441 MB / 0.4922 GB, free: 13.16 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.01323, allocations: 1.64 MB / 0.4938 GB, free: 11.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/0.01356, allocations: 218.9 kB / 0.4941 GB, free: 11.29 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.01461, allocations: 0.9389 MB / 0.495 GB, free: 10.35 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007246/0.01534, allocations: 0.7027 MB / 0.4957 GB, free: 9.648 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.01552, allocations: 128 kB / 0.4958 GB, free: 9.523 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000369/0.01589, allocations: 275.8 kB / 0.496 GB, free: 9.254 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.0161, allocations: 354.4 kB / 0.4964 GB, free: 8.906 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003237/0.01642, allocations: 471.5 kB / 0.4968 GB, free: 8.445 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.01752, allocations: 1.257 MB / 0.4981 GB, free: 7.184 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.01752, allocations: 0 / 0.4981 GB, free: 7.184 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01752, allocations: 0.6875 kB / 0.4981 GB, free: 7.184 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.01755, allocations: 0 / 0.4981 GB, free: 7.184 MB / 426.7 MB 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.00481/0.02236, allocations: 2.987 MB / 0.501 GB, free: 4.164 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.02239, allocations: 8.031 kB / 0.501 GB, free: 4.156 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00279/0.02518, allocations: 0.9324 MB / 0.5019 GB, free: 3.223 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009395/0.02612, allocations: 0.8228 MB / 0.5027 GB, free: 2.359 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.02632, allocations: 329.3 kB / 0.503 GB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.02643, allocations: 91.89 kB / 0.5031 GB, free: 1.895 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009949/0.02743, allocations: 0.7617 MB / 0.5038 GB, free: 1.109 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.02744, allocations: 3.938 kB / 0.5038 GB, free: 1.105 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/0.02751, allocations: 32 kB / 0.5039 GB, free: 1.074 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.02752, allocations: 19.94 kB / 0.5039 GB, free: 1.055 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000773/0.0283, allocations: 0.4935 MB / 0.5044 GB, free: 0.5547 MB / 426.7 MB 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.003423/0.03172, allocations: 2.726 MB / 0.507 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.03451, allocations: 1.254 MB / 0.5083 GB, free: 12.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004398/0.03495, allocations: 354.1 kB / 0.5086 GB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.164e-05/0.03503, allocations: 20.98 kB / 0.5086 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006714/0.0357, allocations: 0.5365 MB / 0.5091 GB, free: 11.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 2.675e-06/0.03571, allocations: 3.938 kB / 0.5091 GB, free: 11.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.01197/0.04768, allocations: 5.102 MB / 0.5141 GB, free: 6.387 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.04773, allocations: 115.8 kB / 0.5142 GB, free: 6.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.04873, allocations: 1.008 MB / 0.5152 GB, free: 5.227 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.906e-05/0.04881, allocations: 45.7 kB / 0.5153 GB, free: 5.176 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.0491, allocations: 0.5587 MB / 0.5158 GB, free: 4.609 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000234/0.04933, allocations: 372.9 kB / 0.5162 GB, free: 4.242 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003346/0.04967, allocations: 301.2 kB / 0.5165 GB, free: 3.941 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.04976, allocations: 480.7 kB / 0.5169 GB, free: 3.469 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005821/0.05035, allocations: 439.2 kB / 0.5173 GB, free: 3.027 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006873/0.05103, allocations: 0.6477 MB / 0.518 GB, free: 2.316 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/0.05294, allocations: 1.661 MB / 0.5196 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.05294, allocations: 4 kB / 0.5196 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005742/0.05869, allocations: 3.114 MB / 0.5226 GB, free: 13.41 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.05873, allocations: 59.41 kB / 0.5227 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.05874, allocations: 4 kB / 0.5227 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004494/0.06324, allocations: 1.672 MB / 0.5243 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/0.06397, allocations: 279.6 kB / 0.5246 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006755/0.07072, allocations: 4.527 MB / 0.529 GB, free: 6.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008836/0.07161, allocations: 167.2 kB / 0.5292 GB, free: 6.566 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/0.07185, allocations: 55.98 kB / 0.5292 GB, free: 6.512 MB / 458.7 MB 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 (162): * Single equations (assignments): 159 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004011/0.07226, allocations: 271.2 kB / 0.5295 GB, free: 6.227 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.07243, allocations: 167.1 kB / 0.5296 GB, free: 6.062 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004881/0.07731, allocations: 2.6 MB / 0.5322 GB, free: 3.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.07732, allocations: 12 kB / 0.5322 GB, free: 3.418 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.07733, allocations: 4 kB / 0.5322 GB, free: 3.414 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.07734, allocations: 7.984 kB / 0.5322 GB, free: 3.406 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005946/0.08329, allocations: 3.675 MB / 0.5358 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.08329, allocations: 4 kB / 0.5358 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.08362, allocations: 99.89 kB / 0.5359 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004372/0.08799, allocations: 1.624 MB / 0.5375 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.65e-05/0.08808, allocations: 28 kB / 0.5375 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007294/0.09537, allocations: 6.425 MB / 0.5438 GB, free: 7.215 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.09537, allocations: 7.938 kB / 0.5438 GB, free: 7.207 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005597/0.101, allocations: 3.058 MB / 0.5468 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.1012, allocations: 158.8 kB / 0.5469 GB, free: 3.941 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.1013, allocations: 19.98 kB / 0.5469 GB, free: 3.922 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/0.1018, allocations: 75.92 kB / 0.547 GB, free: 3.848 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003671/0.1022, allocations: 192.6 kB / 0.5472 GB, free: 3.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.1023, allocations: 32 kB / 0.5472 GB, free: 3.629 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005474/0.1028, allocations: 0.6373 MB / 0.5479 GB, free: 2.984 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1028, allocations: 0 / 0.5479 GB, free: 2.984 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001039/0.1038, allocations: 483.6 kB / 0.5483 GB, free: 2.512 MB / 474.7 MB 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.0002642/0.1041, allocations: 135 kB / 0.5484 GB, free: 2.371 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002863/0.107, allocations: 1.87 MB / 0.5503 GB, free: 440 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.107, allocations: 0 / 0.5503 GB, free: 440 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001795/0.1088, allocations: 1.299 MB / 0.5515 GB, free: 15.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005423/0.1093, allocations: 139 kB / 0.5517 GB, free: 14.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.1121, allocations: 2.137 MB / 0.5538 GB, free: 12.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.1122, allocations: 249.6 kB / 0.554 GB, free: 12.49 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.1125, allocations: 112.1 kB / 0.5541 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.1127, allocations: 84.47 kB / 0.5542 GB, free: 12.29 MB / 490.7 MB Notification: Performance of SimCode: time 1.854e-06/0.1127, allocations: 3.938 kB / 0.5542 GB, free: 12.29 MB / 490.7 MB Notification: Performance of Templates: time 0.02835/0.141, allocations: 28.51 MB / 0.582 GB, free: 15.88 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.048952206037939]