Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.001482/0.001482, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.332/1.332, allocations: 230.6 MB / 253.4 MB, free: 8.289 MB / 206.1 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.001698/0.001698, allocations: 217.4 kB / 310 MB, free: 3.145 MB / 238.1 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.5/0.5, allocations: 101.3 MB / 467.8 MB, free: 10.31 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00256/0.00256, allocations: 87.88 kB / 0.6258 GB, free: 12.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3924, allocations: 78.6 MB / 0.7025 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01733/0.4097, allocations: 22.07 MB / 0.7241 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.4217, allocations: 4.952 MB / 0.7289 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004405/0.4261, allocations: 42.09 kB / 0.729 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002998/0.4291, allocations: 0.8857 MB / 0.7298 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008242/0.4374, allocations: 2.329 MB / 0.7321 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005519/0.4429, allocations: 2.066 MB / 0.7341 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01009/0.453, allocations: 5.808 MB / 0.7398 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002181/0.4552, allocations: 0.9125 MB / 0.7407 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004539/0.4597, allocations: 2.414 MB / 0.743 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005517/0.4652, allocations: 2.99 MB / 0.746 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00189/0.4671, allocations: 447.6 kB / 0.7464 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.4699, allocations: 0.6147 MB / 0.747 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002918/0.4728, allocations: 1.163 MB / 0.7481 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005365/0.4782, allocations: 2.623 MB / 0.7507 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.4894, allocations: 6.315 MB / 0.7568 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4894, allocations: 0 / 0.7568 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4894, allocations: 1.094 kB / 0.7568 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002928/0.4897, allocations: 0 / 0.7568 GB, free: 3.969 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03645/0.5261, allocations: 9.972 MB / 0.7666 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.5261, allocations: 9.25 kB / 0.7666 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02768/0.5538, allocations: 4.057 MB / 0.7706 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00691/0.5607, allocations: 2.602 MB / 0.7731 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001196/0.5619, allocations: 1.036 MB / 0.7741 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001297/0.5632, allocations: 344 kB / 0.7744 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01135/0.5746, allocations: 4.739 MB / 0.7791 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.875e-05/0.5746, allocations: 3.938 kB / 0.7791 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003864/0.575, allocations: 144 kB / 0.7792 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-05/0.5751, allocations: 88 kB / 0.7793 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009159/0.5843, allocations: 4.255 MB / 0.7834 GB, free: 13.16 MB / 0.545 GB 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.03531/0.6196, allocations: 18.09 MB / 0.8011 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/0.6318, allocations: 4.36 MB / 0.8054 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005821/0.6376, allocations: 2.482 MB / 0.8078 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005055/0.6381, allocations: 74.92 kB / 0.8079 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006637/0.6447, allocations: 3.189 MB / 0.811 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=384): time 5.17e-06/0.6447, allocations: 0 / 0.811 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=384): time 0.2927/0.9375, allocations: 67.5 MB / 0.8769 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.9376, allocations: 149.8 kB / 0.877 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004849/0.9424, allocations: 3.25 MB / 0.8802 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008067/0.9432, allocations: 93.7 kB / 0.8803 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001752/0.945, allocations: 2.009 MB / 0.8823 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001977/0.947, allocations: 1.386 MB / 0.8836 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001489/0.9485, allocations: 0.6823 MB / 0.8843 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.9486, allocations: 301.1 kB / 0.8846 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005655/0.9542, allocations: 2.608 MB / 0.8871 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006476/0.9607, allocations: 3.226 MB / 0.8903 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0724/1.033, allocations: 19.22 MB / 0.909 GB, free: 10.56 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-05/1.033, allocations: 4 kB / 0.909 GB, free: 10.55 MB / 0.67 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.05712/1.09, allocations: 17.19 MB / 0.9258 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 7.873e-05/1.09, allocations: 63.41 kB / 0.9259 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/1.09, allocations: 19.98 kB / 0.9259 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02588/1.116, allocations: 7.154 MB / 0.9329 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003607/1.12, allocations: 0.6865 MB / 0.9336 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08903/1.209, allocations: 33.23 MB / 0.966 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006028/1.215, allocations: 0.6375 MB / 0.9666 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006696/1.216, allocations: 160 kB / 0.9668 GB, free: 15.19 MB / 0.7325 GB 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 order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (407): * Single equations (assignments): 404 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001852/1.217, allocations: 0.6679 MB / 0.9674 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/1.219, allocations: 484.9 kB / 0.9679 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3268/1.545, allocations: 16.75 MB / 0.9843 GB, free: 232.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.874e-05/1.545, allocations: 36.59 kB / 0.9843 GB, free: 232.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.187e-05/1.546, allocations: 32.78 kB / 0.9843 GB, free: 232.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001004/1.546, allocations: 22.94 kB / 0.9843 GB, free: 232.1 MB / 0.7325 GB 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.06319/1.609, allocations: 21.72 MB / 1.006 GB, free: 228.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-05/1.609, allocations: 1.312 kB / 1.006 GB, free: 228.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/1.611, allocations: 391 kB / 1.006 GB, free: 228.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02385/1.635, allocations: 7.366 MB / 1.013 GB, free: 227.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008235/1.636, allocations: 78.41 kB / 1.013 GB, free: 227.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06753/1.703, allocations: 31.62 MB / 1.044 GB, free: 214 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.703, allocations: 0 / 1.044 GB, free: 214 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05366/1.757, allocations: 20.15 MB / 1.064 GB, free: 194.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/1.758, allocations: 0.5119 MB / 1.064 GB, free: 193.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/1.759, allocations: 68.69 kB / 1.064 GB, free: 193.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004413/1.764, allocations: 375.6 kB / 1.065 GB, free: 193.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002653/1.767, allocations: 0.8114 MB / 1.065 GB, free: 192.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003221/1.767, allocations: 104 kB / 1.066 GB, free: 192.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002396/1.769, allocations: 2.133 MB / 1.068 GB, free: 190.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.769, allocations: 0 / 1.068 GB, free: 190.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004657/1.774, allocations: 1.816 MB / 1.069 GB, free: 188.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (248): * Single equations (assignments): 245 * 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 {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005223/1.774, allocations: 202.9 kB / 1.07 GB, free: 188.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02122/1.796, allocations: 8.802 MB / 1.078 GB, free: 179.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.796, allocations: 0 / 1.078 GB, free: 179.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01685/1.812, allocations: 5.904 MB / 1.084 GB, free: 173.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002934/1.815, allocations: 388 kB / 1.084 GB, free: 173.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/1.827, allocations: 8.194 MB / 1.092 GB, free: 165 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/1.828, allocations: 2.449 MB / 1.095 GB, free: 162.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/1.83, allocations: 283.4 kB / 1.095 GB, free: 162.2 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/1.83, allocations: 0 / 1.095 GB, free: 162.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.08194/1.912, allocations: 89.74 MB / 1.183 GB, free: 72.33 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.433888675179332] Failed to read output from testmodel.py, exit status != 0: 1.9201831710524857 1.928430067 1.4368459900000001 Calling exit ...