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.0008675/0.0008675, allocations: 92.72 kB / 20.2 MB, free: 4.223 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.8933/0.8933, allocations: 177.1 MB / 200.5 MB, free: 5.82 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.001119/0.001119, allocations: 171.3 kB / 257.1 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.2638/0.2638, allocations: 80.37 MB / 393.9 MB, free: 2.184 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 1.393e-06/1.393e-06, allocations: 0 / 490 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.713e-05, allocations: 2.312 kB / 490 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.00503/0.005057, allocations: 5.779 MB / 495.8 MB, free: 6.086 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0037/0.008758, allocations: 1.929 MB / 497.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007805/0.009538, allocations: 11.94 kB / 497.7 MB, free: 4.152 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007788/0.01032, allocations: 237.9 kB / 497.9 MB, free: 3.918 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.01224, allocations: 0.8629 MB / 498.8 MB, free: 3.059 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009949/0.01324, allocations: 0.6271 MB / 499.4 MB, free: 2.441 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.01469, allocations: 1.572 MB / 0.4893 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.01501, allocations: 214.8 kB / 0.4895 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008708/0.01588, allocations: 0.9012 MB / 0.4903 GB, free: 15.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006257/0.01651, allocations: 0.6698 MB / 0.491 GB, free: 15.06 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.01663, allocations: 121.9 kB / 0.4911 GB, free: 14.95 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.01705, allocations: 275.7 kB / 0.4914 GB, free: 14.68 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.01734, allocations: 338.5 kB / 0.4917 GB, free: 14.34 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.01765, allocations: 454.5 kB / 0.4921 GB, free: 13.9 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.01914, allocations: 1.732 MB / 0.4938 GB, free: 12.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.01914, allocations: 1.812 kB / 0.4938 GB, free: 12.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01914, allocations: 0 / 0.4938 GB, free: 12.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.01916, allocations: 3.938 kB / 0.4938 GB, free: 12.16 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.005118/0.02428, allocations: 2.799 MB / 0.4966 GB, free: 9.336 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.02432, allocations: 8.031 kB / 0.4966 GB, free: 9.328 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003194/0.02751, allocations: 0.9182 MB / 0.4975 GB, free: 8.414 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.02861, allocations: 0.858 MB / 0.4983 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.02883, allocations: 333.3 kB / 0.4986 GB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.02895, allocations: 87.98 kB / 0.4987 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.03034, allocations: 1.104 MB / 0.4998 GB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.03036, allocations: 3.984 kB / 0.4998 GB, free: 5.926 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.03042, allocations: 35.94 kB / 0.4998 GB, free: 5.891 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.03044, allocations: 23.98 kB / 0.4998 GB, free: 5.867 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.03176, allocations: 1.005 MB / 0.5008 GB, free: 4.855 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.004033/0.03579, allocations: 2.855 MB / 0.5036 GB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004011/0.0398, allocations: 2.015 MB / 0.5056 GB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008408/0.04064, allocations: 0.6363 MB / 0.5062 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-05/0.04072, allocations: 21 kB / 0.5062 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.04179, allocations: 0.8468 MB / 0.507 GB, free: 14.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=95): time 4.248e-06/0.04179, allocations: 0 / 0.507 GB, free: 14.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.01539/0.05718, allocations: 7.103 MB / 0.514 GB, free: 7.219 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.05724, allocations: 115.8 kB / 0.5141 GB, free: 7.078 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.05859, allocations: 1.062 MB / 0.5151 GB, free: 6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.05874, allocations: 45.7 kB / 0.5152 GB, free: 5.949 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.05904, allocations: 0.5014 MB / 0.5157 GB, free: 5.441 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/0.05937, allocations: 368.9 kB / 0.516 GB, free: 5.078 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003262/0.05969, allocations: 263.5 kB / 0.5163 GB, free: 4.816 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.05977, allocations: 309.1 kB / 0.5166 GB, free: 4.512 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.06081, allocations: 0.8037 MB / 0.5173 GB, free: 3.695 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.06188, allocations: 0.9649 MB / 0.5183 GB, free: 2.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/0.07442, allocations: 5.746 MB / 0.5239 GB, free: 12.85 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.07443, allocations: 4 kB / 0.5239 GB, free: 12.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.007758/0.08218, allocations: 4.419 MB / 0.5282 GB, free: 8.387 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.488e-05/0.08225, allocations: 59.41 kB / 0.5283 GB, free: 8.316 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.08227, allocations: 4 kB / 0.5283 GB, free: 8.312 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006166/0.08843, allocations: 2.341 MB / 0.5306 GB, free: 5.969 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.08948, allocations: 275.6 kB / 0.5308 GB, free: 5.699 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/0.1016, allocations: 8.24 MB / 0.5389 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.1029, allocations: 195.1 kB / 0.5391 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.103, allocations: 59.97 kB / 0.5391 GB, free: 13.09 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.0005326/0.1035, allocations: 292.2 kB / 0.5394 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.1037, allocations: 163.1 kB / 0.5396 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00678/0.1105, allocations: 3.867 MB / 0.5433 GB, free: 8.727 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.1105, allocations: 11.98 kB / 0.5433 GB, free: 8.715 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.1105, allocations: 8 kB / 0.5433 GB, free: 8.707 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.1105, allocations: 7.969 kB / 0.5434 GB, free: 8.699 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.007991/0.1185, allocations: 4.892 MB / 0.5481 GB, free: 3.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1185, allocations: 0 / 0.5481 GB, free: 3.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.1188, allocations: 95.89 kB / 0.5482 GB, free: 3.656 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005804/0.1246, allocations: 2.383 MB / 0.5506 GB, free: 1.266 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.414e-05/0.1247, allocations: 27.98 kB / 0.5506 GB, free: 1.238 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/0.137, allocations: 9.235 MB / 0.5596 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.137, allocations: 0 / 0.5596 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0082/0.1452, allocations: 4.786 MB / 0.5643 GB, free: 2.945 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.1456, allocations: 158.9 kB / 0.5644 GB, free: 2.789 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.1457, allocations: 16 kB / 0.5644 GB, free: 2.773 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/0.1463, allocations: 107.9 kB / 0.5645 GB, free: 2.668 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004654/0.1468, allocations: 208.7 kB / 0.5647 GB, free: 2.465 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/0.1469, allocations: 31.98 kB / 0.5648 GB, free: 2.434 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008003/0.1477, allocations: 0.7112 MB / 0.5655 GB, free: 1.715 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1477, allocations: 4 kB / 0.5655 GB, free: 1.711 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00114/0.1488, allocations: 471.7 kB / 0.5659 GB, free: 1.25 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.0003038/0.1491, allocations: 131.1 kB / 0.566 GB, free: 1.113 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003799/0.1529, allocations: 2.44 MB / 0.5684 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1529, allocations: 0 / 0.5684 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.1553, allocations: 1.561 MB / 0.57 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.156, allocations: 134.5 kB / 0.5701 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.1589, allocations: 2.203 MB / 0.5722 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.1593, allocations: 0.5276 MB / 0.5727 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003029/0.1596, allocations: 115.9 kB / 0.5729 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.1598, allocations: 80.48 kB / 0.5729 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of SimCode: time 1.403e-06/0.1598, allocations: 0 / 0.5729 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of Templates: time 0.02925/0.1891, allocations: 25.95 MB / 0.5983 GB, free: 36 kB / 0.5105 GB " [Timeout remaining time 660] 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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.144892536103725]