Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.0008372/0.0008372, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.8836/0.8836, allocations: 177.2 MB / 200.2 MB, free: 5.941 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.001018/0.001018, allocations: 156.6 kB / 256.7 MB, free: 13.36 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.2625/0.2625, allocations: 80.37 MB / 393.5 MB, free: 2.359 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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.5562 GB, free: 11.94 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.592e-05, allocations: 2.281 kB / 0.5562 GB, free: 11.94 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.004489/0.004515, allocations: 5.941 MB / 0.562 GB, free: 5.969 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.007066, allocations: 1.982 MB / 0.5639 GB, free: 3.984 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.007374, allocations: 11.94 kB / 0.5639 GB, free: 3.973 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005155/0.007889, allocations: 229.9 kB / 0.5642 GB, free: 3.746 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.009055, allocations: 0.8911 MB / 0.565 GB, free: 2.852 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007136/0.009768, allocations: 0.6609 MB / 0.5657 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.01078, allocations: 1.678 MB / 0.5673 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.01104, allocations: 214.9 kB / 0.5675 GB, free: 292 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007164/0.01176, allocations: 0.9468 MB / 0.5684 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005676/0.01233, allocations: 0.7126 MB / 0.5691 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.01245, allocations: 132 kB / 0.5693 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.01291, allocations: 283.8 kB / 0.5695 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.01311, allocations: 358.4 kB / 0.5699 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.01341, allocations: 478.4 kB / 0.5703 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.01459, allocations: 1.814 MB / 0.5721 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.0146, allocations: 0 / 0.5721 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.733e-06/0.0146, allocations: 4 kB / 0.5721 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.01461, allocations: 0 / 0.5721 GB, free: 11.57 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004591/0.0192, allocations: 2.894 MB / 0.5749 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.01924, allocations: 12.03 kB / 0.5749 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/0.02166, allocations: 0.7991 MB / 0.5757 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.0228, allocations: 0.874 MB / 0.5766 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.023, allocations: 337.2 kB / 0.5769 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.02313, allocations: 87.98 kB / 0.577 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.02455, allocations: 1.131 MB / 0.5781 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.02457, allocations: 0 / 0.5781 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.216e-05/0.02464, allocations: 32 kB / 0.5781 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.02465, allocations: 23.94 kB / 0.5781 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.02598, allocations: 1.028 MB / 0.5792 GB, free: 4.172 MB / 0.4948 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.003923/0.0299, allocations: 2.906 MB / 0.582 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00411/0.03401, allocations: 2.054 MB / 0.584 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008035/0.03482, allocations: 0.6684 MB / 0.5846 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.41e-05/0.03489, allocations: 9 kB / 0.5847 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.03589, allocations: 0.8702 MB / 0.5855 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=98): time 3.046e-06/0.03589, allocations: 0 / 0.5855 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98): time 0.01421/0.0501, allocations: 6.955 MB / 0.5923 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.05016, allocations: 115.8 kB / 0.5924 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.05126, allocations: 1.11 MB / 0.5935 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.528e-05/0.05135, allocations: 45.7 kB / 0.5935 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.05162, allocations: 0.5132 MB / 0.594 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.05189, allocations: 372.9 kB / 0.5944 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/0.05222, allocations: 291.5 kB / 0.5947 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.345e-05/0.05229, allocations: 305.1 kB / 0.595 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.05331, allocations: 0.835 MB / 0.5958 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.05443, allocations: 1.023 MB / 0.5968 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.243/0.2974, allocations: 6.1 MB / 0.6027 GB, free: 92.13 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.2974, allocations: 3.219 kB / 0.6027 GB, free: 92.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007457/0.3049, allocations: 4.501 MB / 0.6071 GB, free: 91.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.3049, allocations: 66.03 kB / 0.6072 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3049, allocations: 3.594 kB / 0.6072 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003752/0.3087, allocations: 1.654 MB / 0.6088 GB, free: 90.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008097/0.3095, allocations: 290.5 kB / 0.6091 GB, free: 90.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/0.3222, allocations: 8.326 MB / 0.6172 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.3233, allocations: 207.9 kB / 0.6174 GB, free: 87.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/0.3234, allocations: 56.12 kB / 0.6175 GB, free: 87.16 MB / 0.5105 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 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 order6.delta:VARIABLE(flow=false start = order6.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 (164): * Single equations (assignments): 161 * 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,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004731/0.3238, allocations: 307.3 kB / 0.6178 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.324, allocations: 133 kB / 0.6179 GB, free: 86.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007817/0.3318, allocations: 3.921 MB / 0.6217 GB, free: 85.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.3318, allocations: 10.5 kB / 0.6217 GB, free: 85.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.3318, allocations: 7.156 kB / 0.6217 GB, free: 85.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.3319, allocations: 7 kB / 0.6217 GB, free: 85.88 MB / 0.5105 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.00863/0.3405, allocations: 4.965 MB / 0.6266 GB, free: 84.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.3405, allocations: 1.406 kB / 0.6266 GB, free: 84.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004059/0.3409, allocations: 107.5 kB / 0.6267 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003124/0.344, allocations: 1.603 MB / 0.6283 GB, free: 84.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.753e-05/0.3441, allocations: 22.42 kB / 0.6283 GB, free: 84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/0.3554, allocations: 9.181 MB / 0.6373 GB, free: 78.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3554, allocations: 0 / 0.6373 GB, free: 78.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007438/0.3629, allocations: 4.832 MB / 0.642 GB, free: 75.85 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.3632, allocations: 154.2 kB / 0.6421 GB, free: 75.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.3633, allocations: 27.89 kB / 0.6421 GB, free: 75.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/0.3639, allocations: 109.9 kB / 0.6422 GB, free: 75.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003535/0.3642, allocations: 206.2 kB / 0.6424 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.3643, allocations: 34.2 kB / 0.6425 GB, free: 75.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006645/0.3649, allocations: 0.7514 MB / 0.6432 GB, free: 74.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3649, allocations: 4 kB / 0.6432 GB, free: 74.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001139/0.3661, allocations: 490.7 kB / 0.6437 GB, free: 74.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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.0002643/0.3663, allocations: 140.2 kB / 0.6438 GB, free: 74.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003368/0.3697, allocations: 2.537 MB / 0.6463 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3697, allocations: 0 / 0.6463 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/0.3717, allocations: 1.585 MB / 0.6478 GB, free: 70.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.3722, allocations: 112.7 kB / 0.648 GB, free: 69.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.3747, allocations: 2.356 MB / 0.6503 GB, free: 67.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3749, allocations: 0.5401 MB / 0.6508 GB, free: 67.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.3752, allocations: 92.08 kB / 0.6509 GB, free: 66.97 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/0.3752, allocations: 0 / 0.6509 GB, free: 66.97 MB / 0.5105 GB Notification: Performance of Templates: time 0.01618/0.3914, allocations: 24.99 MB / 0.6753 GB, free: 42.02 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.948577329516411] Failed to read output from testmodel.py, exit status != 0: 0.3971393685787916 0.402727486 0.386812186 Calling exit ...