Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.001304/0.001304, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.377/1.377, allocations: 225.6 MB / 247.7 MB, free: 13.44 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.001484/0.001484, allocations: 200.2 kB / 303.1 MB, free: 8.676 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.5387/0.5387, allocations: 99.64 MB / 458 MB, free: 3.984 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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 80.16 kB / 0.613 GB, free: 6.473 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1562, allocations: 76.99 MB / 0.6882 GB, free: 9.316 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.2849/0.4411, allocations: 22.08 MB / 0.7098 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.4518, allocations: 4.933 MB / 0.7146 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004198/0.456, allocations: 41.25 kB / 0.7146 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002559/0.4585, allocations: 0.8894 MB / 0.7155 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007244/0.4658, allocations: 2.301 MB / 0.7178 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005779/0.4716, allocations: 2.096 MB / 0.7198 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009597/0.4812, allocations: 5.833 MB / 0.7255 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.4835, allocations: 0.9175 MB / 0.7264 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004844/0.4883, allocations: 2.431 MB / 0.7288 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006082/0.4944, allocations: 2.999 MB / 0.7317 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002164/0.4966, allocations: 447.4 kB / 0.7321 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00346/0.5, allocations: 0.5867 MB / 0.7327 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002815/0.5028, allocations: 1.182 MB / 0.7339 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00601/0.5088, allocations: 2.64 MB / 0.7364 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.52, allocations: 6.32 MB / 0.7426 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.52, allocations: 3.938 kB / 0.7426 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.52, allocations: 0 / 0.7426 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003184/0.5203, allocations: 0 / 0.7426 GB, free: 1.516 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03663/0.5569, allocations: 9.972 MB / 0.7524 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.557, allocations: 17.58 kB / 0.7524 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.028/0.585, allocations: 4.043 MB / 0.7563 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007114/0.5921, allocations: 2.606 MB / 0.7589 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001227/0.5933, allocations: 0.9612 MB / 0.7598 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/0.5946, allocations: 348 kB / 0.7601 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01255/0.6071, allocations: 4.754 MB / 0.7648 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.394e-05/0.6072, allocations: 0 / 0.7648 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004263/0.6076, allocations: 140 kB / 0.7649 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.463e-05/0.6077, allocations: 84 kB / 0.765 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/0.6177, allocations: 4.26 MB / 0.7691 GB, free: 13.14 MB / 0.5294 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.04121/0.6589, allocations: 18.12 MB / 0.7868 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01433/0.6732, allocations: 4.394 MB / 0.7911 GB, free: 5.445 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007214/0.6804, allocations: 2.491 MB / 0.7936 GB, free: 2.945 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006207/0.6811, allocations: 70.92 kB / 0.7936 GB, free: 2.875 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008573/0.6896, allocations: 3.197 MB / 0.7968 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=385): time 6.853e-06/0.6896, allocations: 0 / 0.7968 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=385): time 0.3324/1.022, allocations: 66.54 MB / 0.8617 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/1.022, allocations: 141.8 kB / 0.8619 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005908/1.028, allocations: 3.278 MB / 0.8651 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0008413/1.029, allocations: 89.7 kB / 0.8652 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00181/1.031, allocations: 2.009 MB / 0.8671 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002187/1.033, allocations: 1.39 MB / 0.8685 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002221/1.035, allocations: 0.6825 MB / 0.8691 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.035, allocations: 305.1 kB / 0.8694 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00668/1.042, allocations: 2.62 MB / 0.872 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007272/1.049, allocations: 3.261 MB / 0.8752 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07968/1.129, allocations: 19.11 MB / 0.8938 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.623e-05/1.129, allocations: 4 kB / 0.8938 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.06681/1.196, allocations: 17.14 MB / 0.9106 GB, free: 10.27 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/1.196, allocations: 71.39 kB / 0.9107 GB, free: 10.19 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.899e-05/1.196, allocations: 12 kB / 0.9107 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03054/1.226, allocations: 7.303 MB / 0.9178 GB, free: 2.867 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003921/1.23, allocations: 0.6787 MB / 0.9185 GB, free: 2.188 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1076/1.338, allocations: 33.79 MB / 0.9515 GB, free: 272 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00715/1.345, allocations: 0.6338 MB / 0.9521 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001164/1.346, allocations: 163.9 kB / 0.9522 GB, free: 15.47 MB / 0.7169 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 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 (409): * Single equations (assignments): 406 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.003569/1.35, allocations: 0.6675 MB / 0.9529 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002339/1.352, allocations: 484.9 kB / 0.9533 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06765/1.42, allocations: 16.76 MB / 0.9697 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-05/1.42, allocations: 36 kB / 0.9697 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.351e-05/1.42, allocations: 28 kB / 0.9698 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001011/1.42, allocations: 19.92 kB / 0.9698 GB, free: 13.38 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.3493/1.769, allocations: 21.76 MB / 0.991 GB, free: 237.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.392e-05/1.769, allocations: 0 / 0.991 GB, free: 237.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/1.772, allocations: 391.6 kB / 0.9914 GB, free: 237.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0271/1.799, allocations: 7.344 MB / 0.9986 GB, free: 237.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000828/1.8, allocations: 70.27 kB / 0.9987 GB, free: 237.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08055/1.88, allocations: 31.68 MB / 1.03 GB, free: 226.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.88, allocations: 0 / 1.03 GB, free: 226.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06002/1.94, allocations: 20.18 MB / 1.049 GB, free: 218.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/1.942, allocations: 0.5134 MB / 1.05 GB, free: 218.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/1.943, allocations: 69.44 kB / 1.05 GB, free: 218.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004947/1.948, allocations: 390.2 kB / 1.05 GB, free: 218.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002851/1.951, allocations: 0.8123 MB / 1.051 GB, free: 217.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003772/1.952, allocations: 95.84 kB / 1.051 GB, free: 217.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002709/1.954, allocations: 2.147 MB / 1.053 GB, free: 215.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.954, allocations: 0 / 1.053 GB, free: 215.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005234/1.96, allocations: 1.828 MB / 1.055 GB, free: 214 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (249): * Single equations (assignments): 246 * 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 {(98,38,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.000595/1.96, allocations: 190.9 kB / 1.055 GB, free: 213.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02511/1.985, allocations: 8.98 MB / 1.064 GB, free: 204.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.985, allocations: 0 / 1.064 GB, free: 204.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01898/2.004, allocations: 5.912 MB / 1.07 GB, free: 198.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/2.007, allocations: 383.9 kB / 1.07 GB, free: 198.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/2.02, allocations: 8.184 MB / 1.078 GB, free: 190.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/2.021, allocations: 2.459 MB / 1.08 GB, free: 187.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001429/2.023, allocations: 383.2 kB / 1.081 GB, free: 187.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008124/2.024, allocations: 251.4 kB / 1.081 GB, free: 187.2 MB / 0.7325 GB Notification: Performance of SimCode: time 1.092e-06/2.024, allocations: 0 / 1.081 GB, free: 187.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.1249/2.149, allocations: 98.52 MB / 1.177 GB, free: 88.75 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.298135415650904] Failed to read output from testmodel.py, exit status != 0: 2.157642095349729 2.167581955 1.644896514 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff15d2c57b0>