Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0008592/0.0008592, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.9193/0.9193, allocations: 177.2 MB / 199.4 MB, free: 5.938 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.001179/0.001179, allocations: 156.6 kB / 256 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2735/0.2735, allocations: 80.25 MB / 392.6 MB, free: 2.449 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 0.5548 GB, free: 12.68 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.157e-05, allocations: 6 kB / 0.5548 GB, free: 12.68 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005144/0.005165, allocations: 5.936 MB / 0.5606 GB, free: 6.711 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.008192, allocations: 1.982 MB / 0.5625 GB, free: 4.727 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004195/0.008611, allocations: 8 kB / 0.5625 GB, free: 4.719 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006083/0.00922, allocations: 253.7 kB / 0.5628 GB, free: 4.469 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.0107, allocations: 0.8797 MB / 0.5636 GB, free: 3.59 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008959/0.0116, allocations: 0.65 MB / 0.5643 GB, free: 2.941 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.01285, allocations: 1.674 MB / 0.5659 GB, free: 1.262 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003147/0.01316, allocations: 211 kB / 0.5661 GB, free: 1.039 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008315/0.01399, allocations: 0.9506 MB / 0.567 GB, free: 88 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006689/0.01466, allocations: 0.7165 MB / 0.5677 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.0148, allocations: 132 kB / 0.5679 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.01521, allocations: 287.7 kB / 0.5681 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.01542, allocations: 350.5 kB / 0.5685 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003044/0.01572, allocations: 486.4 kB / 0.5689 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.01696, allocations: 1.81 MB / 0.5707 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.01697, allocations: 4 kB / 0.5707 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.01697, allocations: 0 / 0.5707 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.01698, allocations: 4 kB / 0.5707 GB, free: 12.31 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.005052/0.02203, allocations: 2.89 MB / 0.5735 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.02208, allocations: 12.03 kB / 0.5735 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.0222, allocations: 126.7 kB / 0.5737 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/0.02478, allocations: 0.7913 MB / 0.5744 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.02592, allocations: 0.8818 MB / 0.5753 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/0.02613, allocations: 337.3 kB / 0.5756 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.02625, allocations: 91.94 kB / 0.5757 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.02764, allocations: 1.127 MB / 0.5768 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.02765, allocations: 3.984 kB / 0.5768 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-05/0.02772, allocations: 35.94 kB / 0.5768 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.02774, allocations: 24 kB / 0.5769 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.02908, allocations: 1.024 MB / 0.5779 GB, free: 4.781 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.003975/0.03305, allocations: 3.012 MB / 0.5808 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004003/0.03705, allocations: 2.05 MB / 0.5828 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000865/0.03792, allocations: 0.6607 MB / 0.5835 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-05/0.038, allocations: 20.94 kB / 0.5835 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.03907, allocations: 0.8662 MB / 0.5843 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=98): time 2.985e-06/0.03907, allocations: 0 / 0.5843 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98): time 0.01517/0.05425, allocations: 6.959 MB / 0.5911 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.0543, allocations: 111.8 kB / 0.5912 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.05558, allocations: 1.147 MB / 0.5923 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.05569, allocations: 45.7 kB / 0.5924 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.05598, allocations: 0.5054 MB / 0.5929 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/0.05626, allocations: 384.7 kB / 0.5933 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003555/0.05662, allocations: 303.5 kB / 0.5935 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.079e-05/0.0567, allocations: 305.1 kB / 0.5938 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.05781, allocations: 0.8467 MB / 0.5947 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.05913, allocations: 1.024 MB / 0.5957 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2023/0.2615, allocations: 6.138 MB / 0.6017 GB, free: 91.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.2615, allocations: 0 / 0.6017 GB, free: 91.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.007571/0.2691, allocations: 4.54 MB / 0.6061 GB, free: 90.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.2691, allocations: 61.45 kB / 0.6061 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.2691, allocations: 4.328 kB / 0.6061 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003704/0.2728, allocations: 1.672 MB / 0.6078 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008871/0.2737, allocations: 293.3 kB / 0.6081 GB, free: 90.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/0.2864, allocations: 8.337 MB / 0.6162 GB, free: 86.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.2877, allocations: 206.8 kB / 0.6164 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.2878, allocations: 65.41 kB / 0.6165 GB, free: 86.67 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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005113/0.2883, allocations: 317.8 kB / 0.6168 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.2885, allocations: 132.8 kB / 0.6169 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008/0.2965, allocations: 3.919 MB / 0.6207 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.2965, allocations: 10.75 kB / 0.6207 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.2965, allocations: 6.469 kB / 0.6207 GB, free: 85.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.2965, allocations: 9.234 kB / 0.6207 GB, free: 85.38 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.008258/0.3048, allocations: 5.058 MB / 0.6257 GB, free: 83.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3048, allocations: 1.156 kB / 0.6257 GB, free: 83.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.3052, allocations: 99.56 kB / 0.6258 GB, free: 83.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/0.3082, allocations: 1.602 MB / 0.6273 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.826e-05/0.3083, allocations: 19.66 kB / 0.6274 GB, free: 83.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/0.3198, allocations: 9.236 MB / 0.6364 GB, free: 77.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3198, allocations: 3.938 kB / 0.6364 GB, free: 77.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00787/0.3277, allocations: 4.843 MB / 0.6411 GB, free: 75.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/0.328, allocations: 162 kB / 0.6413 GB, free: 75.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.3282, allocations: 15.97 kB / 0.6413 GB, free: 75.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006312/0.3288, allocations: 110.8 kB / 0.6414 GB, free: 75.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004451/0.3292, allocations: 207.2 kB / 0.6416 GB, free: 75.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.3293, allocations: 27.64 kB / 0.6416 GB, free: 75.13 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000737/0.33, allocations: 0.7757 MB / 0.6424 GB, free: 74.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.33, allocations: 0 / 0.6424 GB, free: 74.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001218/0.3312, allocations: 497 kB / 0.6428 GB, free: 74.17 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.007726/0.339, allocations: 5.423 MB / 0.6481 GB, free: 68.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003866/0.3428, allocations: 2.555 MB / 0.6506 GB, free: 66.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3428, allocations: 4.25 kB / 0.6506 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002219/0.3451, allocations: 1.59 MB / 0.6522 GB, free: 64.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008027/0.3459, allocations: 115.5 kB / 0.6523 GB, free: 64.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/0.367, allocations: 16.8 MB / 0.6687 GB, free: 47.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.3673, allocations: 0.5441 MB / 0.6692 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003127/0.3676, allocations: 116.2 kB / 0.6693 GB, free: 46.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/0.368, allocations: 496.3 kB / 0.6698 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of SimCode: time 1.292e-06/0.368, allocations: 0 / 0.6698 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05367/0.4217, allocations: 39.21 MB / 0.7081 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.328/9.75, allocations: 6.984 kB / 0.7081 GB, free: 7.246 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.082363535650074] Failed to read output from testmodel.py, exit status != 0: 9.85737029928714 9.866309764 9.847274749 Calling exit ...