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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 111.4 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 242.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 198.1 kB / 295 MB, free: 12.65 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5208/0.5208, allocations: 98.19 MB / 445.4 MB, free: 10.94 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002356/0.002356, allocations: 79.88 kB / 0.591 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1419, allocations: 72.76 MB / 0.6621 GB, free: 11.17 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007328/0.1493, allocations: 6.525 MB / 0.6684 GB, free: 4.605 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003923/0.1532, allocations: 1.958 MB / 0.6703 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005141/0.1538, allocations: 19.94 kB / 0.6704 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006394/0.1545, allocations: 238 kB / 0.6706 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.1563, allocations: 0.802 MB / 0.6714 GB, free: 1.59 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.1575, allocations: 0.6339 MB / 0.672 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.1591, allocations: 1.573 MB / 0.6735 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004692/0.1596, allocations: 326.4 kB / 0.6738 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007907/0.1604, allocations: 0.6496 MB / 0.6745 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009286/0.1614, allocations: 0.8284 MB / 0.6753 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.1615, allocations: 120 kB / 0.6754 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004847/0.162, allocations: 255.9 kB / 0.6756 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000309/0.1624, allocations: 330.7 kB / 0.676 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005903/0.163, allocations: 0.6718 MB / 0.6766 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.1647, allocations: 1.673 MB / 0.6782 GB, free: 10.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1647, allocations: 0 / 0.6782 GB, free: 10.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1647, allocations: 0 / 0.6782 GB, free: 10.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.1648, allocations: 0 / 0.6782 GB, free: 10.52 MB / 494.1 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.008968/0.1737, allocations: 2.734 MB / 0.6809 GB, free: 7.719 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1738, allocations: 8.031 kB / 0.6809 GB, free: 7.711 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005075/0.1789, allocations: 0.7796 MB / 0.6817 GB, free: 6.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.1805, allocations: 0.9028 MB / 0.6826 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003117/0.1808, allocations: 260.2 kB / 0.6828 GB, free: 5.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.181, allocations: 76 kB / 0.6829 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.1832, allocations: 1.086 MB / 0.6839 GB, free: 4.508 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.1833, allocations: 0 / 0.6839 GB, free: 4.508 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.635e-05/0.1834, allocations: 32 kB / 0.684 GB, free: 4.477 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.1834, allocations: 19.98 kB / 0.684 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.1855, allocations: 0.9916 MB / 0.685 GB, free: 3.461 MB / 494.1 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.2751/0.4606, allocations: 3.794 MB / 0.6887 GB, free: 24.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007546/0.4682, allocations: 2.367 MB / 0.691 GB, free: 24.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.4699, allocations: 0.6752 MB / 0.6916 GB, free: 24.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.47, allocations: 15.83 kB / 0.6917 GB, free: 24.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/0.4718, allocations: 0.8083 MB / 0.6924 GB, free: 24.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=95): time 4.177e-06/0.4718, allocations: 3.906 kB / 0.6924 GB, free: 24.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=95): time 0.03101/0.5028, allocations: 7.2 MB / 0.6995 GB, free: 23.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.5029, allocations: 119.1 kB / 0.6996 GB, free: 23.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.5046, allocations: 1.092 MB / 0.7007 GB, free: 23.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002062/0.5048, allocations: 44.45 kB / 0.7007 GB, free: 23.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.5052, allocations: 0.4886 MB / 0.7012 GB, free: 23.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.5055, allocations: 371.8 kB / 0.7015 GB, free: 23.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005003/0.506, allocations: 284.2 kB / 0.7018 GB, free: 23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.666e-05/0.506, allocations: 301.6 kB / 0.7021 GB, free: 22.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.5077, allocations: 0.7611 MB / 0.7028 GB, free: 22.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.5095, allocations: 0.9215 MB / 0.7037 GB, free: 22.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02311/0.5326, allocations: 5.56 MB / 0.7092 GB, free: 22.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.5327, allocations: 4.656 kB / 0.7092 GB, free: 22.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01336/0.5461, allocations: 4.37 MB / 0.7134 GB, free: 20.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.698e-05/0.5462, allocations: 62.92 kB / 0.7135 GB, free: 20.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.5462, allocations: 2.375 kB / 0.7135 GB, free: 20.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005717/0.5519, allocations: 1.586 MB / 0.715 GB, free: 19.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.5533, allocations: 285.1 kB / 0.7153 GB, free: 19.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01884/0.5722, allocations: 8.509 MB / 0.7236 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.574, allocations: 205.7 kB / 0.7238 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.5741, allocations: 60.62 kB / 0.7239 GB, free: 14.4 MB / 494.1 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 (160): * Single equations (assignments): 157 * 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,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000509/0.5747, allocations: 295.3 kB / 0.7242 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.5749, allocations: 135 kB / 0.7243 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/0.5871, allocations: 3.869 MB / 0.7281 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.5872, allocations: 13.72 kB / 0.7281 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.5872, allocations: 4 kB / 0.7281 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.5872, allocations: 3.984 kB / 0.7281 GB, free: 12.07 MB / 494.1 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.01332/0.6005, allocations: 5.461 MB / 0.7334 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.6006, allocations: 3.375 kB / 0.7334 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/0.6012, allocations: 103.9 kB / 0.7335 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005313/0.6065, allocations: 1.605 MB / 0.7351 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/0.6066, allocations: 20 kB / 0.7351 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02055/0.6272, allocations: 9.643 MB / 0.7445 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6272, allocations: 2.344 kB / 0.7445 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01571/0.643, allocations: 4.739 MB / 0.7492 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/0.6435, allocations: 224 kB / 0.7494 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.6437, allocations: 31.88 kB / 0.7494 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.6449, allocations: 108.4 kB / 0.7495 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00067/0.6456, allocations: 196.7 kB / 0.7497 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.652e-05/0.6456, allocations: 28 kB / 0.7497 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001202/0.6469, allocations: 0.7276 MB / 0.7504 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6469, allocations: 0 / 0.7504 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001393/0.6483, allocations: 475.6 kB / 0.7509 GB, free: 4.328 MB / 0.4981 GB 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.0002696/0.6485, allocations: 143.1 kB / 0.751 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006752/0.6553, allocations: 2.528 MB / 0.7535 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6553, allocations: 0 / 0.7535 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004623/0.66, allocations: 1.601 MB / 0.7551 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009135/0.6609, allocations: 109.4 kB / 0.7552 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.6648, allocations: 2.283 MB / 0.7574 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007134/0.6655, allocations: 1.122 MB / 0.7585 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.6659, allocations: 83.41 kB / 0.7586 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.6659, allocations: 4 kB / 0.7586 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of Templates: time 0.02999/0.6959, allocations: 23.51 MB / 0.7815 GB, free: 4.855 MB / 0.5294 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: 9.422339290002128] Failed to read output from testmodel.py, exit status != 0: 0.7026215910009341 0.715335371 0.5481307049999999 Calling exit ...