Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.001551/0.001551, allocations: 88.72 kB / 19.44 MB, free: 356 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.534/1.534, allocations: 177.1 MB / 199.7 MB, free: 5.805 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.001916/0.001916, allocations: 168.5 kB / 256.3 MB, free: 13.16 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.4699/0.4699, allocations: 80.25 MB / 393 MB, free: 2.215 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 489.2 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.123e-05, allocations: 2.312 kB / 489.2 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02491/0.02494, allocations: 18.42 MB / 0.4957 GB, free: 9.336 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0181/0.04304, allocations: 4.828 MB / 0.5004 GB, free: 4.543 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006924/0.04996, allocations: 48.47 kB / 0.5005 GB, free: 4.496 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004117/0.05408, allocations: 0.8756 MB / 0.5013 GB, free: 3.613 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01134/0.06541, allocations: 2.343 MB / 0.5036 GB, free: 1.262 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007271/0.07268, allocations: 2.041 MB / 0.5056 GB, free: 15.22 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01423/0.08691, allocations: 5.846 MB / 0.5113 GB, free: 9.352 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002694/0.08961, allocations: 0.861 MB / 0.5122 GB, free: 8.438 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008536/0.09814, allocations: 3.315 MB / 0.5154 GB, free: 5.113 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005028/0.1032, allocations: 2.254 MB / 0.5176 GB, free: 2.852 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001435/0.1046, allocations: 439.9 kB / 0.518 GB, free: 2.422 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.1066, allocations: 0.5974 MB / 0.5186 GB, free: 1.824 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.1079, allocations: 1.17 MB / 0.5198 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003722/0.1116, allocations: 1.721 MB / 0.5214 GB, free: 14.92 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.1231, allocations: 6.329 MB / 0.5276 GB, free: 8.566 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.1231, allocations: 3.938 kB / 0.5276 GB, free: 8.562 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.1231, allocations: 0 / 0.5276 GB, free: 8.562 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003653/0.1235, allocations: 0 / 0.5276 GB, free: 8.562 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.04029/0.1638, allocations: 9.841 MB / 0.5372 GB, free: 14.63 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.027e-05/0.1638, allocations: 8.031 kB / 0.5372 GB, free: 14.62 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02958/0.1934, allocations: 4.741 MB / 0.5419 GB, free: 9.875 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007945/0.2014, allocations: 2.637 MB / 0.5444 GB, free: 7.152 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001512/0.2029, allocations: 1.04 MB / 0.5455 GB, free: 5.957 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/0.2046, allocations: 355.9 kB / 0.5458 GB, free: 5.609 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01378/0.2183, allocations: 4.748 MB / 0.5504 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.323e-05/0.2184, allocations: 0 / 0.5504 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004665/0.2189, allocations: 140 kB / 0.5506 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.335e-05/0.219, allocations: 87.94 kB / 0.5507 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01205/0.231, allocations: 4.242 MB / 0.5548 GB, free: 12.35 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.0439/0.2749, allocations: 13.13 MB / 0.5676 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01464/0.2895, allocations: 4.357 MB / 0.5719 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007187/0.2967, allocations: 2.499 MB / 0.5743 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006067/0.2973, allocations: 86.94 kB / 0.5744 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00847/0.3058, allocations: 3.204 MB / 0.5775 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=382): time 7.113e-06/0.3058, allocations: 0 / 0.5775 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of matching and sorting (n=382): time 0.5574/0.8632, allocations: 68.14 MB / 0.6441 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.8633, allocations: 141.8 kB / 0.6442 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005094/0.8684, allocations: 3.215 MB / 0.6473 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001086/0.8695, allocations: 97.64 kB / 0.6474 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.8707, allocations: 2.002 MB / 0.6494 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001847/0.8725, allocations: 1.358 MB / 0.6507 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001342/0.8738, allocations: 0.6508 MB / 0.6513 GB, free: 131 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.534e-05/0.8739, allocations: 305.1 kB / 0.6516 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005195/0.8791, allocations: 2.62 MB / 0.6542 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005327/0.8844, allocations: 3.239 MB / 0.6574 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06671/0.9511, allocations: 18.95 MB / 0.6759 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.33e-05/0.9512, allocations: 4 kB / 0.6759 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=527) (initialization): time 0.05322/1.004, allocations: 17.02 MB / 0.6925 GB, free: 88.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.005, allocations: 64.39 kB / 0.6925 GB, free: 88.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.375e-05/1.005, allocations: 16 kB / 0.6926 GB, free: 88.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0478/1.052, allocations: 10.74 MB / 0.703 GB, free: 77.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/1.056, allocations: 0.6531 MB / 0.7037 GB, free: 76.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07863/1.135, allocations: 32.87 MB / 0.7358 GB, free: 43.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006661/1.141, allocations: 0.6163 MB / 0.7364 GB, free: 43.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008271/1.142, allocations: 148 kB / 0.7365 GB, free: 43.24 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 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 (391): * Single equations (assignments): 388 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.00238/1.145, allocations: 0.6712 MB / 0.7372 GB, free: 42.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001953/1.146, allocations: 0.5829 MB / 0.7378 GB, free: 41.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05057/1.197, allocations: 16.74 MB / 0.7541 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-05/1.197, allocations: 36 kB / 0.7541 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.633e-05/1.197, allocations: 28 kB / 0.7542 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001033/1.197, allocations: 19.92 kB / 0.7542 GB, free: 25.09 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.05764/1.255, allocations: 20.01 MB / 0.7737 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.598e-05/1.255, allocations: 0 / 0.7737 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002311/1.257, allocations: 387.5 kB / 0.7741 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05111/1.308, allocations: 10.85 MB / 0.7847 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001268/1.31, allocations: 71.98 kB / 0.7848 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2866/1.596, allocations: 30.84 MB / 0.8149 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.596, allocations: 1.375 kB / 0.8149 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06401/1.66, allocations: 20.26 MB / 0.8347 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/1.662, allocations: 0.5028 MB / 0.8352 GB, free: 151 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001514/1.663, allocations: 63.91 kB / 0.8352 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00486/1.668, allocations: 383.4 kB / 0.8356 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003582/1.672, allocations: 0.812 MB / 0.8364 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006038/1.672, allocations: 94.27 kB / 0.8365 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002988/1.675, allocations: 2.094 MB / 0.8385 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/1.675, allocations: 0 / 0.8385 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007248/1.683, allocations: 1.808 MB / 0.8403 GB, free: 148.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008982/1.684, allocations: 206.1 kB / 0.8405 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02475/1.708, allocations: 8.939 MB / 0.8492 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.708, allocations: 1 kB / 0.8492 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01911/1.727, allocations: 5.92 MB / 0.855 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006478/1.734, allocations: 483.1 kB / 0.8554 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/1.751, allocations: 8.008 MB / 0.8633 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/1.753, allocations: 1.934 MB / 0.8651 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001691/1.755, allocations: 371.1 kB / 0.8655 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008514/1.755, allocations: 256.4 kB / 0.8657 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/1.755, allocations: 0 / 0.8657 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.1184/1.874, allocations: 98.26 MB / 0.9617 GB, free: 27.16 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.073881215997972]