Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.001464/0.001464, allocations: 92.72 kB / 19.44 MB, free: 472 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 1.5/1.5, allocations: 177.1 MB / 199.7 MB, free: 5.809 MB / 186.7 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.001758/0.001758, allocations: 160.7 kB / 256.3 MB, free: 13.17 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.4588/0.4588, allocations: 80.38 MB / 393.1 MB, free: 2.152 MB / 314.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.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 489.3 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.579e-05, allocations: 8.047 kB / 489.4 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02536/0.02539, allocations: 18.58 MB / 0.496 GB, free: 9.062 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.04137, allocations: 4.864 MB / 0.5008 GB, free: 4.234 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005528/0.0469, allocations: 47.94 kB / 0.5008 GB, free: 4.188 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00421/0.05111, allocations: 0.8721 MB / 0.5017 GB, free: 3.305 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.06194, allocations: 2.373 MB / 0.504 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007633/0.06957, allocations: 2.049 MB / 0.506 GB, free: 14.89 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01285/0.08242, allocations: 5.913 MB / 0.5118 GB, free: 8.949 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00468/0.0871, allocations: 0.8689 MB / 0.5126 GB, free: 8.027 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01036/0.09745, allocations: 3.339 MB / 0.5159 GB, free: 4.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005384/0.1028, allocations: 2.285 MB / 0.5181 GB, free: 2.387 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002096/0.1049, allocations: 444 kB / 0.5185 GB, free: 1.953 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/0.1078, allocations: 0.6013 MB / 0.5191 GB, free: 1.352 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001975/0.1098, allocations: 1.178 MB / 0.5203 GB, free: 172 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003952/0.1137, allocations: 1.736 MB / 0.522 GB, free: 14.43 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01126/0.125, allocations: 6.387 MB / 0.5282 GB, free: 8.016 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.125, allocations: 4 kB / 0.5282 GB, free: 8.012 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.125, allocations: 4 kB / 0.5282 GB, free: 8.008 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002878/0.1253, allocations: 0 / 0.5282 GB, free: 8.008 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03819/0.1635, allocations: 9.907 MB / 0.5379 GB, free: 14.01 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.1635, allocations: 8.031 kB / 0.5379 GB, free: 14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02811/0.1917, allocations: 4.733 MB / 0.5425 GB, free: 9.262 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007555/0.1992, allocations: 2.676 MB / 0.5451 GB, free: 6.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00154/0.2008, allocations: 1.033 MB / 0.5461 GB, free: 5.312 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001675/0.2024, allocations: 352 kB / 0.5465 GB, free: 4.969 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.2158, allocations: 4.764 MB / 0.5511 GB, free: 172 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.069e-05/0.2159, allocations: 4 kB / 0.5511 GB, free: 168 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004825/0.2164, allocations: 147.9 kB / 0.5513 GB, free: 20 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.2165, allocations: 87.98 kB / 0.5514 GB, free: 15.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/0.2287, allocations: 4.253 MB / 0.5555 GB, free: 11.67 MB / 490.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.04234/0.2711, allocations: 13.16 MB / 0.5684 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01487/0.2859, allocations: 4.385 MB / 0.5726 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007966/0.2939, allocations: 2.511 MB / 0.5751 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000605/0.2945, allocations: 86.95 kB / 0.5752 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009018/0.3035, allocations: 3.214 MB / 0.5783 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=384): time 1.13e-05/0.3035, allocations: 0 / 0.5783 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of matching and sorting (n=384): time 0.5041/0.8076, allocations: 67.69 MB / 0.6444 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/0.8077, allocations: 145.8 kB / 0.6446 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004134/0.8118, allocations: 3.258 MB / 0.6477 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001108/0.8129, allocations: 89.7 kB / 0.6478 GB, free: 134 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.8142, allocations: 2.01 MB / 0.6498 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001838/0.816, allocations: 1.361 MB / 0.6511 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001412/0.8174, allocations: 0.6627 MB / 0.6518 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.8175, allocations: 305.1 kB / 0.6521 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004869/0.8223, allocations: 2.647 MB / 0.6546 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005136/0.8275, allocations: 3.275 MB / 0.6578 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0685/0.896, allocations: 19.18 MB / 0.6766 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.077e-05/0.896, allocations: 4 kB / 0.6766 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.05279/0.9488, allocations: 17.39 MB / 0.6936 GB, free: 87.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-05/0.9489, allocations: 75.39 kB / 0.6936 GB, free: 87.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.063e-05/0.9489, allocations: 16 kB / 0.6936 GB, free: 87.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04697/0.9959, allocations: 10.59 MB / 0.704 GB, free: 76.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/0.9997, allocations: 0.6787 MB / 0.7047 GB, free: 75.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07978/1.079, allocations: 32.46 MB / 0.7364 GB, free: 43.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006154/1.086, allocations: 0.6203 MB / 0.737 GB, free: 42.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009969/1.087, allocations: 152 kB / 0.7371 GB, free: 42.54 MB / 0.5105 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 order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (400): * Single equations (assignments): 397 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002185/1.089, allocations: 0.6708 MB / 0.7378 GB, free: 41.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00173/1.091, allocations: 0.5868 MB / 0.7383 GB, free: 41.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05164/1.142, allocations: 16.77 MB / 0.7547 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.562e-05/1.142, allocations: 40 kB / 0.7547 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.68e-05/1.142, allocations: 28 kB / 0.7548 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.84e-05/1.142, allocations: 15.94 kB / 0.7548 GB, free: 24.36 MB / 0.5105 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.05946/1.202, allocations: 20.05 MB / 0.7744 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.628e-05/1.202, allocations: 4 kB / 0.7744 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002319/1.204, allocations: 387.5 kB / 0.7747 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05112/1.255, allocations: 10.85 MB / 0.7853 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001107/1.256, allocations: 67.98 kB / 0.7854 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.29/1.546, allocations: 30.83 MB / 0.8155 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.546, allocations: 1.438 kB / 0.8155 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06243/1.609, allocations: 20.32 MB / 0.8354 GB, free: 151 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/1.61, allocations: 0.5025 MB / 0.8358 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001343/1.612, allocations: 71.38 kB / 0.8359 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004936/1.617, allocations: 376.4 kB / 0.8363 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003462/1.62, allocations: 0.8182 MB / 0.8371 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006007/1.621, allocations: 98.02 kB / 0.8372 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003051/1.624, allocations: 2.121 MB / 0.8392 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/1.624, allocations: 0 / 0.8392 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006331/1.63, allocations: 1.813 MB / 0.841 GB, free: 147.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (248): * Single equations (assignments): 245 * 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 {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009629/1.631, allocations: 199.2 kB / 0.8412 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02463/1.656, allocations: 8.864 MB / 0.8499 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.656, allocations: 0 / 0.8499 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0189/1.674, allocations: 5.921 MB / 0.8556 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003852/1.678, allocations: 490.3 kB / 0.8561 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/1.693, allocations: 8.128 MB / 0.864 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/1.694, allocations: 1.945 MB / 0.8659 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002083/1.696, allocations: 375.1 kB / 0.8663 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.698, allocations: 260.4 kB / 0.8665 GB, free: 124 MB / 0.5261 GB Notification: Performance of SimCode: time 1.814e-06/1.698, allocations: 0 / 0.8665 GB, free: 124 MB / 0.5261 GB Notification: Performance of Templates: time 0.116/1.813, allocations: 97.62 MB / 0.9619 GB, free: 26.8 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.793347286991775]