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.001418/0.001418, allocations: 93.06 kB / 19.65 MB, free: 272 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.9278/0.9278, allocations: 177.2 MB / 200 MB, free: 5.535 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.001328/0.001328, allocations: 160.5 kB / 256.6 MB, free: 12.98 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.276/0.276, allocations: 80.35 MB / 393.5 MB, free: 2.094 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.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 2.385e-06/2.385e-06, allocations: 0 / 490 MB, free: 11.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.32e-05/3.559e-05, allocations: 5.125 kB / 490 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.008465/0.008501, allocations: 6.38 MB / 496.3 MB, free: 5.117 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004177/0.01268, allocations: 1.995 MB / 498.3 MB, free: 3.129 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000459/0.01314, allocations: 15.94 kB / 498.4 MB, free: 3.113 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006234/0.01376, allocations: 246.7 kB / 498.6 MB, free: 2.871 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.01525, allocations: 0.8715 MB / 499.5 MB, free: 2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000847/0.0161, allocations: 0.6458 MB / 0.4884 GB, free: 1.363 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.01727, allocations: 1.635 MB / 0.49 GB, free: 15.72 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.01758, allocations: 216.1 kB / 0.4902 GB, free: 15.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008825/0.01846, allocations: 0.9312 MB / 0.4911 GB, free: 14.57 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000675/0.01913, allocations: 0.7071 MB / 0.4918 GB, free: 13.86 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.01928, allocations: 128 kB / 0.4919 GB, free: 13.73 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.01965, allocations: 283.7 kB / 0.4922 GB, free: 13.46 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002198/0.01987, allocations: 346.5 kB / 0.4925 GB, free: 13.12 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003285/0.0202, allocations: 474.4 kB / 0.493 GB, free: 12.65 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.02126, allocations: 1.257 MB / 0.4942 GB, free: 11.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.02127, allocations: 0.9062 kB / 0.4942 GB, free: 11.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02127, allocations: 0 / 0.4942 GB, free: 11.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.02128, allocations: 1.375 kB / 0.4942 GB, free: 11.39 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.004813/0.0261, allocations: 2.975 MB / 0.4971 GB, free: 8.383 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.02615, allocations: 15.97 kB / 0.4971 GB, free: 8.367 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002718/0.02887, allocations: 0.9418 MB / 0.498 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.02992, allocations: 0.8228 MB / 0.4988 GB, free: 6.562 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.03014, allocations: 329.3 kB / 0.4992 GB, free: 6.188 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.03026, allocations: 91.94 kB / 0.4992 GB, free: 6.098 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009985/0.03126, allocations: 0.7656 MB / 0.5 GB, free: 5.309 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.03127, allocations: 0 / 0.5 GB, free: 5.309 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.254e-05/0.03134, allocations: 28 kB / 0.5 GB, free: 5.281 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.03136, allocations: 23.94 kB / 0.5 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007816/0.03214, allocations: 497.3 kB / 0.5005 GB, free: 4.766 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.003373/0.03551, allocations: 2.741 MB / 0.5032 GB, free: 1.953 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/0.03811, allocations: 1.251 MB / 0.5044 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.03855, allocations: 335.9 kB / 0.5047 GB, free: 332 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.409e-05/0.03864, allocations: 28.98 kB / 0.5048 GB, free: 304 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006592/0.0393, allocations: 0.5337 MB / 0.5053 GB, free: 15.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 2.074e-06/0.0393, allocations: 0 / 0.5053 GB, free: 15.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.01162/0.05092, allocations: 5.091 MB / 0.5103 GB, free: 10.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.05097, allocations: 123.8 kB / 0.5104 GB, free: 10.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008515/0.05183, allocations: 1.012 MB / 0.5114 GB, free: 9.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.46e-05/0.05189, allocations: 45.7 kB / 0.5114 GB, free: 9.379 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.05218, allocations: 0.551 MB / 0.5119 GB, free: 8.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/0.05246, allocations: 380.8 kB / 0.5123 GB, free: 8.445 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004709/0.05293, allocations: 293.1 kB / 0.5126 GB, free: 8.152 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.05304, allocations: 484.7 kB / 0.513 GB, free: 7.676 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007764/0.05381, allocations: 443.2 kB / 0.5135 GB, free: 7.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009459/0.05476, allocations: 0.6456 MB / 0.5141 GB, free: 6.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/0.05717, allocations: 1.649 MB / 0.5157 GB, free: 4.785 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.05717, allocations: 4 kB / 0.5157 GB, free: 4.781 MB / 442.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007684/0.06486, allocations: 3.125 MB / 0.5188 GB, free: 1.613 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/0.06491, allocations: 63.39 kB / 0.5188 GB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.06492, allocations: 4 kB / 0.5188 GB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005835/0.07076, allocations: 1.672 MB / 0.5205 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009409/0.0717, allocations: 279.6 kB / 0.5207 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008922/0.08062, allocations: 4.526 MB / 0.5251 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.08177, allocations: 175 kB / 0.5253 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.08189, allocations: 55.97 kB / 0.5254 GB, free: 10.71 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.0004791/0.08237, allocations: 274.9 kB / 0.5256 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.0826, allocations: 163.1 kB / 0.5258 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006477/0.08908, allocations: 2.604 MB / 0.5283 GB, free: 7.625 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.08909, allocations: 12 kB / 0.5283 GB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.0891, allocations: 4 kB / 0.5283 GB, free: 7.609 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.08911, allocations: 3.984 kB / 0.5283 GB, free: 7.605 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007837/0.09695, allocations: 3.675 MB / 0.5319 GB, free: 3.863 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.09695, allocations: 4.031 kB / 0.5319 GB, free: 3.859 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.09737, allocations: 99.89 kB / 0.532 GB, free: 3.762 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005481/0.1029, allocations: 1.636 MB / 0.5336 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.984e-05/0.1029, allocations: 23.98 kB / 0.5337 GB, free: 2.094 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008953/0.1119, allocations: 6.423 MB / 0.5399 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1119, allocations: 4 kB / 0.5399 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006949/0.1188, allocations: 3.05 MB / 0.5429 GB, free: 8.305 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.1191, allocations: 162.8 kB / 0.5431 GB, free: 8.145 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.1192, allocations: 20.06 kB / 0.5431 GB, free: 8.125 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.1197, allocations: 83.92 kB / 0.5432 GB, free: 8.043 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003159/0.12, allocations: 192.6 kB / 0.5433 GB, free: 7.855 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/0.12, allocations: 23.98 kB / 0.5434 GB, free: 7.832 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005384/0.1206, allocations: 0.6334 MB / 0.544 GB, free: 7.191 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1206, allocations: 0 / 0.544 GB, free: 7.191 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00102/0.1216, allocations: 491.6 kB / 0.5445 GB, free: 6.711 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.0002427/0.1218, allocations: 151.6 kB / 0.5446 GB, free: 6.555 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002756/0.1246, allocations: 1.854 MB / 0.5464 GB, free: 4.633 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1246, allocations: 0 / 0.5464 GB, free: 4.633 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.1262, allocations: 1.303 MB / 0.5477 GB, free: 3.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.1267, allocations: 135.1 kB / 0.5478 GB, free: 3.137 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.1294, allocations: 2.137 MB / 0.5499 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.1295, allocations: 241.6 kB / 0.5501 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.1298, allocations: 120 kB / 0.5502 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.13, allocations: 80.48 kB / 0.5503 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of SimCode: time 9.12e-07/0.13, allocations: 4 kB / 0.5503 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of Templates: time 0.02695/0.1569, allocations: 27.68 MB / 0.5774 GB, free: 4.914 MB / 0.4948 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.24063181085512]