Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.001534/0.001534, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.543/1.543, allocations: 230.6 MB / 252.7 MB, free: 8.082 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.001717/0.001717, allocations: 205.7 kB / 309.2 MB, free: 2.941 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.6123/0.6123, allocations: 107.3 MB / 473 MB, free: 4.445 MB / 334.1 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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",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.00261/0.00261, allocations: 83.88 kB / 0.6334 GB, free: 4.824 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5801/0.5828, allocations: 80.17 MB / 0.7116 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02208/0.6048, allocations: 18.41 MB / 0.7296 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01709/0.6219, allocations: 4.821 MB / 0.7343 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007653/0.6296, allocations: 43.22 kB / 0.7344 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005082/0.6347, allocations: 0.8874 MB / 0.7352 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.6474, allocations: 2.285 MB / 0.7375 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008331/0.6558, allocations: 2.043 MB / 0.7395 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01445/0.6702, allocations: 5.737 MB / 0.7451 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002767/0.673, allocations: 0.863 MB / 0.7459 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005972/0.679, allocations: 2.402 MB / 0.7483 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006833/0.6858, allocations: 2.671 MB / 0.7509 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002255/0.688, allocations: 436.2 kB / 0.7513 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003255/0.6913, allocations: 0.5978 MB / 0.7519 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001382/0.6927, allocations: 1.15 MB / 0.753 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004249/0.6969, allocations: 2.116 MB / 0.755 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.7089, allocations: 6.33 MB / 0.7612 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.7089, allocations: 0 / 0.7612 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7089, allocations: 0 / 0.7612 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003192/0.7092, allocations: 1.188 kB / 0.7612 GB, free: 2.492 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03771/0.7469, allocations: 9.905 MB / 0.7709 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.747, allocations: 8.031 kB / 0.7709 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007345/0.7477, allocations: 484.8 kB / 0.7714 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02757/0.7753, allocations: 4.055 MB / 0.7753 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008068/0.7833, allocations: 2.57 MB / 0.7778 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001331/0.7847, allocations: 1.033 MB / 0.7789 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/0.7862, allocations: 355.9 kB / 0.7792 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.7981, allocations: 4.756 MB / 0.7838 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.707e-05/0.7981, allocations: 4 kB / 0.7838 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004066/0.7985, allocations: 140 kB / 0.784 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.618e-05/0.7986, allocations: 84 kB / 0.7841 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009989/0.8086, allocations: 4.242 MB / 0.7882 GB, free: 8.348 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.03914/0.8478, allocations: 13.39 MB / 0.8013 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01433/0.8621, allocations: 4.353 MB / 0.8055 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006975/0.8691, allocations: 2.501 MB / 0.808 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007399/0.8698, allocations: 62.95 kB / 0.808 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008817/0.8786, allocations: 3.194 MB / 0.8111 GB, free: 332 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=382): time 1.057e-05/0.8786, allocations: 0 / 0.8111 GB, free: 332 kB / 0.5606 GB Notification: Performance of matching and sorting (n=382): time 0.3204/1.199, allocations: 67.98 MB / 0.8775 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/1.199, allocations: 145.8 kB / 0.8777 GB, free: 12 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007001/1.206, allocations: 3.245 MB / 0.8808 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001094/1.207, allocations: 89.7 kB / 0.8809 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0021/1.209, allocations: 2.005 MB / 0.8829 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002757/1.212, allocations: 1.371 MB / 0.8842 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003654/1.216, allocations: 0.6743 MB / 0.8849 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.216, allocations: 305.1 kB / 0.8852 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007025/1.223, allocations: 2.631 MB / 0.8877 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007605/1.231, allocations: 3.259 MB / 0.8909 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0756/1.306, allocations: 18.97 MB / 0.9095 GB, free: 10.86 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.738e-05/1.306, allocations: 4 kB / 0.9095 GB, free: 10.86 MB / 0.67 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05961/1.366, allocations: 16.88 MB / 0.9259 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.111e-05/1.366, allocations: 63.41 kB / 0.926 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.496e-05/1.366, allocations: 15.98 kB / 0.926 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02795/1.394, allocations: 7.229 MB / 0.9331 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003988/1.398, allocations: 0.6631 MB / 0.9337 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09696/1.495, allocations: 32.8 MB / 0.9658 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00696/1.502, allocations: 0.626 MB / 0.9664 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/1.503, allocations: 148 kB / 0.9665 GB, free: 212 kB / 0.7169 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 (398): * Single equations (assignments): 395 * 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,45)} Notification: Performance of prepare postOptimizeDAE: time 0.00245/1.505, allocations: 0.6753 MB / 0.9672 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001515/1.507, allocations: 480.8 kB / 0.9676 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4849/1.992, allocations: 16.73 MB / 0.984 GB, free: 225 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.757e-05/1.992, allocations: 40.84 kB / 0.984 GB, free: 225 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.416e-05/1.992, allocations: 29.16 kB / 0.984 GB, free: 225 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001424/1.992, allocations: 22.78 kB / 0.984 GB, free: 225 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.06602/2.058, allocations: 20.37 MB / 1.004 GB, free: 221.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-05/2.058, allocations: 1.094 kB / 1.004 GB, free: 221.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/2.061, allocations: 389.4 kB / 1.004 GB, free: 221.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02705/2.088, allocations: 7.376 MB / 1.012 GB, free: 220.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001145/2.089, allocations: 73.25 kB / 1.012 GB, free: 220.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1018/2.191, allocations: 30.78 MB / 1.042 GB, free: 207.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/2.191, allocations: 4 kB / 1.042 GB, free: 207.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06147/2.252, allocations: 20.14 MB / 1.061 GB, free: 188.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002125/2.254, allocations: 0.5181 MB / 1.062 GB, free: 188 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002117/2.256, allocations: 60 kB / 1.062 GB, free: 187.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005882/2.262, allocations: 379.6 kB / 1.062 GB, free: 187.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003875/2.266, allocations: 0.8114 MB / 1.063 GB, free: 186.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009777/2.267, allocations: 99.92 kB / 1.063 GB, free: 186.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004081/2.271, allocations: 2.109 MB / 1.065 GB, free: 184.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/2.271, allocations: 0 / 1.065 GB, free: 184.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.008029/2.279, allocations: 1.806 MB / 1.067 GB, free: 182.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.06177/2.341, allocations: 20.82 MB / 1.087 GB, free: 161.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02671/2.368, allocations: 8.966 MB / 1.096 GB, free: 152.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/2.368, allocations: 0 / 1.096 GB, free: 152.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.02029/2.388, allocations: 5.922 MB / 1.102 GB, free: 146.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00736/2.395, allocations: 387.9 kB / 1.102 GB, free: 146.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1563/2.552, allocations: 58.22 MB / 1.159 GB, free: 87.44 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00182/2.553, allocations: 1.935 MB / 1.161 GB, free: 85.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001773/2.555, allocations: 371.1 kB / 1.161 GB, free: 85.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002284/2.557, allocations: 2.026 MB / 1.163 GB, free: 83.06 MB / 0.7325 GB Notification: Performance of SimCode: time 1.703e-06/2.557, allocations: 0 / 1.163 GB, free: 83.06 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6239/3.181, allocations: 137.9 MB / 1.298 GB, free: 248.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.85/25.03, allocations: 3.766 kB / 1.298 GB, free: 248.9 MB / 0.7637 GB " [Timeout remaining time 635] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.865349137224257] Failed to read output from testmodel.py, exit status != 0: 25.231270836666226 25.257213535 24.543946969 Calling exit ...