Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.001082/0.001082, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 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.9497/0.9497, allocations: 177.2 MB / 200.3 MB, free: 5.359 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.00121/0.00121, allocations: 171.3 kB / 256.9 MB, free: 12.8 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.2784/0.2784, allocations: 83.3 MB / 396.7 MB, free: 15.02 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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 494.4 MB, free: 7.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.407e-05, allocations: 5.469 kB / 494.4 MB, free: 7.043 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005187/0.005211, allocations: 6.286 MB / 0.4889 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003544/0.008755, allocations: 2.009 MB / 0.4909 GB, free: 14.74 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006488/0.009404, allocations: 8 kB / 0.4909 GB, free: 14.73 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006312/0.01003, allocations: 250.6 kB / 0.4911 GB, free: 14.49 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.01182, allocations: 0.8993 MB / 0.492 GB, free: 13.6 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.01287, allocations: 0.6532 MB / 0.4926 GB, free: 12.95 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001619/0.01449, allocations: 1.672 MB / 0.4943 GB, free: 11.28 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.01485, allocations: 215 kB / 0.4945 GB, free: 11.05 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.01615, allocations: 0.9584 MB / 0.4954 GB, free: 10.09 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007532/0.0169, allocations: 0.7166 MB / 0.4961 GB, free: 9.375 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002357/0.01713, allocations: 132 kB / 0.4962 GB, free: 9.246 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004636/0.0176, allocations: 272.7 kB / 0.4965 GB, free: 8.98 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.01781, allocations: 362.5 kB / 0.4969 GB, free: 8.625 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003773/0.01818, allocations: 482.4 kB / 0.4973 GB, free: 8.152 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.01954, allocations: 1.281 MB / 0.4986 GB, free: 6.867 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.01954, allocations: 0 / 0.4986 GB, free: 6.867 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.01954, allocations: 1.875 kB / 0.4986 GB, free: 6.867 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.474e-05/0.01957, allocations: 0 / 0.4986 GB, free: 6.867 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005616/0.02518, allocations: 3.029 MB / 0.5015 GB, free: 3.805 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.02524, allocations: 12.58 kB / 0.5015 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002903/0.02815, allocations: 0.9266 MB / 0.5024 GB, free: 2.867 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.02948, allocations: 0.8072 MB / 0.5032 GB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/0.02975, allocations: 333.3 kB / 0.5035 GB, free: 1.637 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.0299, allocations: 91.94 kB / 0.5036 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008531/0.03075, allocations: 0.6874 MB / 0.5043 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.03077, allocations: 0 / 0.5043 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.03082, allocations: 32 kB / 0.5043 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.03084, allocations: 23.94 kB / 0.5044 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005421/0.03138, allocations: 403.3 kB / 0.5047 GB, free: 392 kB / 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.003428/0.03481, allocations: 2.615 MB / 0.5073 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.03711, allocations: 1.198 MB / 0.5085 GB, free: 12.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.03745, allocations: 287.9 kB / 0.5087 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.447e-05/0.03753, allocations: 21 kB / 0.5088 GB, free: 12.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005199/0.03805, allocations: 0.4907 MB / 0.5092 GB, free: 11.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 3.256e-06/0.03805, allocations: 0 / 0.5092 GB, free: 11.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.01091/0.04896, allocations: 4.782 MB / 0.5139 GB, free: 6.824 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.04902, allocations: 119.8 kB / 0.514 GB, free: 6.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000987/0.05, allocations: 0.9808 MB / 0.515 GB, free: 5.684 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.05014, allocations: 41.7 kB / 0.515 GB, free: 5.637 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.05048, allocations: 0.5703 MB / 0.5156 GB, free: 5.059 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.05081, allocations: 388.7 kB / 0.5159 GB, free: 4.676 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003671/0.05118, allocations: 309 kB / 0.5162 GB, free: 4.367 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.0513, allocations: 488.7 kB / 0.5167 GB, free: 3.887 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005852/0.05188, allocations: 411.2 kB / 0.5171 GB, free: 3.473 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/0.05253, allocations: 0.6337 MB / 0.5177 GB, free: 2.773 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.05433, allocations: 1.598 MB / 0.5193 GB, free: 1.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.05434, allocations: 4 kB / 0.5193 GB, free: 1.086 MB / 442.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005482/0.05982, allocations: 3.063 MB / 0.5223 GB, free: 13.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.316e-05/0.05988, allocations: 59.41 kB / 0.5223 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.05989, allocations: 0 / 0.5223 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004354/0.06424, allocations: 1.668 MB / 0.524 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008833/0.06512, allocations: 283.6 kB / 0.5242 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006295/0.07142, allocations: 4.393 MB / 0.5285 GB, free: 7.445 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.07255, allocations: 167.1 kB / 0.5287 GB, free: 7.281 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.329e-05/0.07264, allocations: 47.97 kB / 0.5287 GB, free: 7.234 MB / 458.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (166): * Single equations (assignments): 163 * 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.0004778/0.07312, allocations: 269 kB / 0.529 GB, free: 6.953 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.07333, allocations: 163.1 kB / 0.5291 GB, free: 6.793 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004464/0.07779, allocations: 2.479 MB / 0.5316 GB, free: 4.281 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.07781, allocations: 15.94 kB / 0.5316 GB, free: 4.266 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.07782, allocations: 4 kB / 0.5316 GB, free: 4.262 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.07783, allocations: 3.984 kB / 0.5316 GB, free: 4.258 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0057/0.08353, allocations: 3.428 MB / 0.5349 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.08353, allocations: 0 / 0.5349 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.08388, allocations: 107.8 kB / 0.535 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003957/0.08784, allocations: 1.628 MB / 0.5366 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.08795, allocations: 20 kB / 0.5366 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007148/0.0951, allocations: 6.217 MB / 0.5427 GB, free: 8.551 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.09511, allocations: 4 kB / 0.5427 GB, free: 8.547 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006695/0.1018, allocations: 2.87 MB / 0.5455 GB, free: 5.625 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004366/0.1022, allocations: 150.9 kB / 0.5457 GB, free: 5.477 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.1024, allocations: 16 kB / 0.5457 GB, free: 5.461 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006814/0.1031, allocations: 87.86 kB / 0.5458 GB, free: 5.375 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005148/0.1036, allocations: 188.6 kB / 0.5459 GB, free: 5.191 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/0.1036, allocations: 23.98 kB / 0.546 GB, free: 5.168 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006042/0.1042, allocations: 0.5867 MB / 0.5465 GB, free: 4.574 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1042, allocations: 0 / 0.5465 GB, free: 4.574 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001441/0.1057, allocations: 495.6 kB / 0.547 GB, free: 4.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002949/0.106, allocations: 147 kB / 0.5472 GB, free: 3.938 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003476/0.1095, allocations: 1.778 MB / 0.5489 GB, free: 2.094 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.1095, allocations: 0 / 0.5489 GB, free: 2.094 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002265/0.1117, allocations: 1.269 MB / 0.5501 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009142/0.1126, allocations: 140.5 kB / 0.5503 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/0.1167, allocations: 2.183 MB / 0.5524 GB, free: 14.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.1169, allocations: 245.6 kB / 0.5526 GB, free: 14.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000398/0.1173, allocations: 116.1 kB / 0.5527 GB, free: 14.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.1177, allocations: 210.2 kB / 0.5529 GB, free: 13.81 MB / 490.7 MB Notification: Performance of SimCode: time 2.134e-06/0.1177, allocations: 0 / 0.5529 GB, free: 13.81 MB / 490.7 MB Notification: Performance of Templates: time 0.04301/0.1607, allocations: 29.02 MB / 0.5813 GB, free: 0.9805 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1163113242946565]