Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001415/0.001415, allocations: 84.73 kB / 19.44 MB, free: 352 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.488/1.488, allocations: 177.1 MB / 199.7 MB, free: 5.832 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.001623/0.001623, allocations: 164.6 kB / 256.3 MB, free: 13.19 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.4547/0.4547, allocations: 80.38 MB / 393.1 MB, free: 2.156 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 489.2 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.237e-05, allocations: 2.312 kB / 489.2 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008815/0.008847, allocations: 5.784 MB / 495 MB, free: 6.055 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004849/0.0137, allocations: 1.925 MB / 496.9 MB, free: 4.137 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009076/0.0146, allocations: 12 kB / 497 MB, free: 4.125 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.01571, allocations: 241.8 kB / 497.2 MB, free: 3.887 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003182/0.01889, allocations: 0.8601 MB / 498 MB, free: 3.031 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.02053, allocations: 0.6266 MB / 498.7 MB, free: 2.414 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002476/0.02301, allocations: 1.572 MB / 0.4885 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004813/0.02349, allocations: 212.6 kB / 0.4887 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.02504, allocations: 0.9 MB / 0.4896 GB, free: 15.71 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.0261, allocations: 0.6775 MB / 0.4903 GB, free: 15.04 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.02632, allocations: 124 kB / 0.4904 GB, free: 14.91 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006681/0.02699, allocations: 269.5 kB / 0.4906 GB, free: 14.65 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003718/0.02736, allocations: 338.5 kB / 0.491 GB, free: 14.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005673/0.02793, allocations: 458.5 kB / 0.4914 GB, free: 13.87 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.03048, allocations: 1.732 MB / 0.4931 GB, free: 12.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.03049, allocations: 1.375 kB / 0.4931 GB, free: 12.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.03049, allocations: 0 / 0.4931 GB, free: 12.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.482e-05/0.03051, allocations: 0 / 0.4931 GB, free: 12.13 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.009953/0.04047, allocations: 2.799 MB / 0.4958 GB, free: 9.309 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.04051, allocations: 12.59 kB / 0.4958 GB, free: 9.297 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005351/0.04586, allocations: 0.914 MB / 0.4967 GB, free: 8.387 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.04788, allocations: 0.8541 MB / 0.4976 GB, free: 7.496 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004257/0.0483, allocations: 337.3 kB / 0.4979 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.04851, allocations: 84 kB / 0.498 GB, free: 7.031 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/0.05116, allocations: 1.115 MB / 0.4991 GB, free: 5.895 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.05118, allocations: 0 / 0.4991 GB, free: 5.895 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.05129, allocations: 31.94 kB / 0.4991 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.05132, allocations: 23.98 kB / 0.4991 GB, free: 5.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002741/0.05406, allocations: 1.005 MB / 0.5001 GB, free: 4.828 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.007939/0.062, allocations: 2.859 MB / 0.5029 GB, free: 1.902 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008123/0.07012, allocations: 2.012 MB / 0.5048 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001765/0.07189, allocations: 0.6445 MB / 0.5055 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.07205, allocations: 28.92 kB / 0.5055 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002235/0.07428, allocations: 0.8351 MB / 0.5063 GB, free: 14.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=95): time 4.098e-06/0.07428, allocations: 0 / 0.5063 GB, free: 14.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.03287/0.1072, allocations: 7.106 MB / 0.5133 GB, free: 7.176 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.1073, allocations: 111.8 kB / 0.5134 GB, free: 7.039 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/0.11, allocations: 1.066 MB / 0.5144 GB, free: 5.957 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003181/0.1103, allocations: 45.7 kB / 0.5145 GB, free: 5.906 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006277/0.1109, allocations: 0.5014 MB / 0.5149 GB, free: 5.398 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008016/0.1117, allocations: 364.9 kB / 0.5153 GB, free: 5.039 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009747/0.1127, allocations: 267.5 kB / 0.5155 GB, free: 4.773 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1129, allocations: 313.1 kB / 0.5158 GB, free: 4.465 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/0.115, allocations: 0.7959 MB / 0.5166 GB, free: 3.656 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/0.1171, allocations: 0.9765 MB / 0.5176 GB, free: 2.629 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02721/0.1443, allocations: 5.742 MB / 0.5232 GB, free: 12.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.1443, allocations: 0 / 0.5232 GB, free: 12.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.01605/0.1604, allocations: 4.422 MB / 0.5275 GB, free: 8.344 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.991e-05/0.1605, allocations: 55.41 kB / 0.5276 GB, free: 8.277 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.1605, allocations: 4 kB / 0.5276 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01248/0.173, allocations: 2.341 MB / 0.5298 GB, free: 5.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.1747, allocations: 271.7 kB / 0.5301 GB, free: 5.664 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02402/0.1987, allocations: 8.233 MB / 0.5381 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.2009, allocations: 199.1 kB / 0.5383 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003525/0.2013, allocations: 55.97 kB / 0.5384 GB, free: 13.06 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.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 (153): * Single equations (assignments): 150 * 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 {(18,15,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001012/0.2023, allocations: 292.2 kB / 0.5387 GB, free: 12.76 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000567/0.2028, allocations: 167.1 kB / 0.5388 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/0.2177, allocations: 3.87 MB / 0.5426 GB, free: 8.688 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-05/0.2177, allocations: 12 kB / 0.5426 GB, free: 8.676 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.253e-05/0.2178, allocations: 4 kB / 0.5426 GB, free: 8.672 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.306e-05/0.2178, allocations: 11.97 kB / 0.5426 GB, free: 8.66 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.01738/0.2352, allocations: 4.888 MB / 0.5474 GB, free: 3.719 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/0.2352, allocations: 0 / 0.5474 GB, free: 3.719 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007253/0.2359, allocations: 103.8 kB / 0.5475 GB, free: 3.617 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01246/0.2484, allocations: 2.387 MB / 0.5498 GB, free: 1.223 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003428/0.2488, allocations: 27.98 kB / 0.5499 GB, free: 1.195 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02572/0.2745, allocations: 9.226 MB / 0.5589 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.2745, allocations: 0 / 0.5589 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01722/0.2917, allocations: 4.789 MB / 0.5635 GB, free: 2.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006167/0.2923, allocations: 154.9 kB / 0.5637 GB, free: 2.758 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004464/0.2928, allocations: 20 kB / 0.5637 GB, free: 2.738 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.2943, allocations: 111.9 kB / 0.5638 GB, free: 2.629 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007884/0.2951, allocations: 196.6 kB / 0.564 GB, free: 2.438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.2952, allocations: 36.05 kB / 0.564 GB, free: 2.402 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001575/0.2968, allocations: 0.7151 MB / 0.5647 GB, free: 1.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2968, allocations: 3.938 kB / 0.5647 GB, free: 1.676 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00207/0.2989, allocations: 475.7 kB / 0.5652 GB, free: 1.211 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.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 (63): * Single equations (assignments): 60 * 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.0004079/0.2993, allocations: 139.1 kB / 0.5653 GB, free: 1.066 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007296/0.3066, allocations: 2.428 MB / 0.5677 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3066, allocations: 3.938 kB / 0.5677 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004926/0.3115, allocations: 1.554 MB / 0.5692 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.3128, allocations: 142.6 kB / 0.5694 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005342/0.3182, allocations: 2.196 MB / 0.5715 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008296/0.319, allocations: 0.5315 MB / 0.572 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005494/0.3195, allocations: 119.9 kB / 0.5721 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.3199, allocations: 80.47 kB / 0.5722 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of SimCode: time 2.374e-06/0.3199, allocations: 0 / 0.5722 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of Templates: time 0.2238/0.5437, allocations: 25.96 MB / 0.5976 GB, free: 168.7 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.7928365770494565]