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.001556/0.001556, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.433/1.433, allocations: 230.6 MB / 253.5 MB, free: 14.27 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.001509/0.001509, allocations: 219 kB / 310 MB, free: 3.023 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.5717/0.5717, allocations: 101.3 MB / 467.7 MB, free: 32.08 MB / 350.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) [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.003126/0.003126, allocations: 81.97 kB / 0.6252 GB, free: 33.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1513, allocations: 78.61 MB / 0.702 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02002/0.1713, allocations: 18.56 MB / 0.7201 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01129/0.1826, allocations: 4.854 MB / 0.7248 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003908/0.1865, allocations: 44 kB / 0.7249 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003343/0.1899, allocations: 0.8789 MB / 0.7257 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00872/0.1986, allocations: 2.301 MB / 0.728 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006626/0.2052, allocations: 2.054 MB / 0.73 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009092/0.2143, allocations: 5.798 MB / 0.7357 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.2166, allocations: 0.9274 MB / 0.7366 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004073/0.2207, allocations: 2.423 MB / 0.7389 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004529/0.2252, allocations: 2.986 MB / 0.7418 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001423/0.2266, allocations: 444 kB / 0.7423 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.2287, allocations: 0.6093 MB / 0.7429 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.2301, allocations: 1.167 MB / 0.744 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003026/0.2332, allocations: 2.136 MB / 0.7461 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008349/0.2415, allocations: 6.371 MB / 0.7523 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2415, allocations: 0 / 0.7523 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2415, allocations: 0 / 0.7523 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001937/0.2417, allocations: 0 / 0.7523 GB, free: 12.9 MB / 0.5294 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.03245/0.2742, allocations: 9.958 MB / 0.762 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2742, allocations: 8.031 kB / 0.762 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001069/0.2743, allocations: 98.53 kB / 0.7621 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007142/0.275, allocations: 488.8 kB / 0.7626 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02765/0.3027, allocations: 4.059 MB / 0.7666 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006215/0.3089, allocations: 2.598 MB / 0.7691 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001121/0.31, allocations: 1.037 MB / 0.7701 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/0.3111, allocations: 352 kB / 0.7704 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.3217, allocations: 4.768 MB / 0.7751 GB, free: 5.164 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.673e-05/0.3217, allocations: 0 / 0.7751 GB, free: 5.164 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004331/0.3221, allocations: 144 kB / 0.7752 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.879e-05/0.3222, allocations: 84 kB / 0.7753 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009457/0.3317, allocations: 4.281 MB / 0.7795 GB, free: 0.6484 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.03303/0.3647, allocations: 13.44 MB / 0.7926 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/0.3772, allocations: 4.374 MB / 0.7969 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00587/0.383, allocations: 2.511 MB / 0.7993 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004186/0.3834, allocations: 58.97 kB / 0.7994 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007272/0.3907, allocations: 3.21 MB / 0.8025 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=384): time 7.094e-06/0.3907, allocations: 0 / 0.8025 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=384): time 0.5393/0.93, allocations: 67.55 MB / 0.8685 GB, free: 58.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.9301, allocations: 141.8 kB / 0.8686 GB, free: 58.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/0.934, allocations: 3.265 MB / 0.8718 GB, free: 56 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009057/0.9349, allocations: 89.7 kB / 0.8719 GB, free: 55.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.9359, allocations: 2.006 MB / 0.8739 GB, free: 54.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001537/0.9374, allocations: 1.383 MB / 0.8752 GB, free: 53.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/0.9388, allocations: 0.6863 MB / 0.8759 GB, free: 52.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.954e-05/0.9388, allocations: 301.1 kB / 0.8762 GB, free: 52.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004814/0.9436, allocations: 2.655 MB / 0.8788 GB, free: 49.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005206/0.9488, allocations: 3.287 MB / 0.882 GB, free: 45.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06693/1.016, allocations: 19.21 MB / 0.9007 GB, free: 26.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.502e-05/1.016, allocations: 8 kB / 0.9007 GB, free: 26.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.05115/1.067, allocations: 17.24 MB / 0.9176 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.69e-05/1.067, allocations: 71.34 kB / 0.9177 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.203e-05/1.067, allocations: 22.17 kB / 0.9177 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02354/1.091, allocations: 7.154 MB / 0.9247 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003742/1.094, allocations: 0.6865 MB / 0.9253 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08958/1.184, allocations: 32.39 MB / 0.957 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005824/1.19, allocations: 0.6305 MB / 0.9576 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007107/1.19, allocations: 157.3 kB / 0.9577 GB, free: 15.98 MB / 0.6231 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.001961/1.192, allocations: 0.6696 MB / 0.9584 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/1.193, allocations: 484.8 kB / 0.9588 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05735/1.251, allocations: 16.77 MB / 0.9752 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.789e-05/1.251, allocations: 40 kB / 0.9753 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.607e-05/1.251, allocations: 35.94 kB / 0.9753 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.814e-05/1.251, allocations: 19.92 kB / 0.9753 GB, free: 13.9 MB / 0.6387 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.06436/1.315, allocations: 20.41 MB / 0.9952 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.239e-05/1.315, allocations: 4.031 kB / 0.9952 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002662/1.318, allocations: 391.5 kB / 0.9956 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02662/1.345, allocations: 7.368 MB / 1.003 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008433/1.345, allocations: 79.73 kB / 1.003 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08276/1.428, allocations: 30.77 MB / 1.033 GB, free: 2.684 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.428, allocations: 0 / 1.033 GB, free: 2.684 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06501/1.493, allocations: 20.2 MB / 1.053 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/1.495, allocations: 0.5123 MB / 1.053 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009168/1.496, allocations: 67.94 kB / 1.053 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00425/1.5, allocations: 387.5 kB / 1.054 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003229/1.503, allocations: 0.8114 MB / 1.054 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003772/1.503, allocations: 95.98 kB / 1.054 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003405/1.507, allocations: 2.133 MB / 1.057 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/1.507, allocations: 0 / 1.057 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005442/1.512, allocations: 1.812 MB / 1.058 GB, free: 8.68 MB / 0.7169 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.06582/1.578, allocations: 20.87 MB / 1.079 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02733/1.605, allocations: 8.879 MB / 1.087 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.605, allocations: 0 / 1.087 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01973/1.625, allocations: 5.937 MB / 1.093 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/1.628, allocations: 392 kB / 1.094 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4198/2.048, allocations: 59.24 MB / 1.151 GB, free: 234 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/2.049, allocations: 1.939 MB / 1.153 GB, free: 232.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001551/2.051, allocations: 375.3 kB / 1.154 GB, free: 231.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/2.053, allocations: 2.026 MB / 1.156 GB, free: 229.7 MB / 0.7481 GB Notification: Performance of SimCode: time 1.282e-06/2.053, allocations: 0 / 1.156 GB, free: 229.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2219/2.275, allocations: 136 MB / 1.288 GB, free: 94.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.76/26.03, allocations: 7.328 kB / 1.288 GB, free: 94.39 MB / 0.7481 GB " [Timeout remaining time 634] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 30.754162817960605] Failed to read output from testmodel.py, exit status != 0: 26.28069752000738 26.297934547 26.052724368 Calling exit ...