Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.002056/0.002056, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.54/1.54, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.001613/0.001613, allocations: 216.4 kB / 309.2 MB, free: 3.109 MB / 238.1 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.6767/0.6767, allocations: 107.2 MB / 472.8 MB, free: 29.8 MB / 350.1 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.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_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.002544/0.002544, allocations: 86.72 kB / 0.6332 GB, free: 29.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.159, allocations: 80.13 MB / 0.7114 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02114/0.1801, allocations: 18.41 MB / 0.7294 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01255/0.1927, allocations: 4.834 MB / 0.7341 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004587/0.1972, allocations: 43.94 kB / 0.7342 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003547/0.2008, allocations: 0.8712 MB / 0.735 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009418/0.2102, allocations: 2.281 MB / 0.7372 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007136/0.2173, allocations: 2.057 MB / 0.7392 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01051/0.2278, allocations: 5.732 MB / 0.7448 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/0.2301, allocations: 0.861 MB / 0.7457 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004649/0.2347, allocations: 2.404 MB / 0.748 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005078/0.2398, allocations: 2.658 MB / 0.7506 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001929/0.2417, allocations: 436 kB / 0.751 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/0.2442, allocations: 0.5975 MB / 0.7516 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001669/0.2459, allocations: 1.151 MB / 0.7528 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00388/0.2498, allocations: 2.121 MB / 0.7548 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.2604, allocations: 6.324 MB / 0.761 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.2604, allocations: 0 / 0.761 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.514e-06/0.2604, allocations: 0 / 0.761 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002725/0.2607, allocations: 0 / 0.761 GB, free: 4.602 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03366/0.2943, allocations: 9.911 MB / 0.7707 GB, free: 10.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.2944, allocations: 8.031 kB / 0.7707 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001029/0.2954, allocations: 492.8 kB / 0.7712 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02698/0.3224, allocations: 4.047 MB / 0.7751 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006711/0.3291, allocations: 2.563 MB / 0.7776 GB, free: 3.391 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001273/0.3304, allocations: 1.036 MB / 0.7786 GB, free: 2.199 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001607/0.332, allocations: 352 kB / 0.779 GB, free: 1.855 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/0.3442, allocations: 4.752 MB / 0.7836 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-05/0.3443, allocations: 3.984 kB / 0.7836 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005002/0.3448, allocations: 140 kB / 0.7837 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.226e-05/0.3449, allocations: 84 kB / 0.7838 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.356, allocations: 4.253 MB / 0.788 GB, free: 8.574 MB / 0.5606 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.03886/0.3949, allocations: 13.39 MB / 0.8011 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01336/0.4083, allocations: 4.353 MB / 0.8053 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006564/0.4148, allocations: 2.495 MB / 0.8077 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006276/0.4155, allocations: 62.89 kB / 0.8078 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008058/0.4235, allocations: 3.194 MB / 0.8109 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=382): time 8.075e-06/0.4235, allocations: 4 kB / 0.8109 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=382): time 0.6544/1.078, allocations: 67.98 MB / 0.8773 GB, free: 43.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.621e-05/1.078, allocations: 145.8 kB / 0.8774 GB, free: 43.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004234/1.082, allocations: 3.252 MB / 0.8806 GB, free: 40.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001045/1.083, allocations: 85.7 kB / 0.8807 GB, free: 40.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/1.085, allocations: 1.999 MB / 0.8827 GB, free: 38.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001986/1.087, allocations: 1.378 MB / 0.884 GB, free: 37.56 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/1.088, allocations: 0.6705 MB / 0.8847 GB, free: 36.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.915e-05/1.088, allocations: 301.1 kB / 0.8849 GB, free: 36.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004995/1.093, allocations: 2.636 MB / 0.8875 GB, free: 33.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005405/1.098, allocations: 3.259 MB / 0.8907 GB, free: 30.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06505/1.163, allocations: 18.96 MB / 0.9092 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-05/1.163, allocations: 4 kB / 0.9092 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05422/1.218, allocations: 16.89 MB / 0.9257 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.218, allocations: 63.41 kB / 0.9258 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.163e-05/1.218, allocations: 16 kB / 0.9258 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02764/1.245, allocations: 7.225 MB / 0.9328 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003817/1.249, allocations: 0.6696 MB / 0.9335 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09529/1.345, allocations: 32.79 MB / 0.9655 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006229/1.351, allocations: 0.633 MB / 0.9661 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009448/1.352, allocations: 148 kB / 0.9663 GB, free: 0.6992 MB / 0.6231 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.00225/1.354, allocations: 0.6662 MB / 0.9669 GB, free: 24 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/1.355, allocations: 481.1 kB / 0.9674 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05872/1.414, allocations: 16.73 MB / 0.9837 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.49e-05/1.414, allocations: 36 kB / 0.9838 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.296e-05/1.414, allocations: 35.94 kB / 0.9838 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001031/1.414, allocations: 19.94 kB / 0.9838 GB, free: 14.65 MB / 0.6544 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.0668/1.481, allocations: 20.38 MB / 1.004 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/1.481, allocations: 2.438 kB / 1.004 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00247/1.483, allocations: 395.5 kB / 1.004 GB, free: 9.898 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02728/1.511, allocations: 7.368 MB / 1.011 GB, free: 2.516 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009386/1.512, allocations: 71.83 kB / 1.011 GB, free: 2.449 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08793/1.6, allocations: 30.79 MB / 1.041 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.6, allocations: 4 kB / 1.041 GB, free: 3.434 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06602/1.666, allocations: 20.15 MB / 1.061 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/1.667, allocations: 0.4991 MB / 1.062 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001414/1.669, allocations: 60 kB / 1.062 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004829/1.674, allocations: 383.5 kB / 1.062 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00329/1.677, allocations: 0.8153 MB / 1.063 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004995/1.677, allocations: 99.98 kB / 1.063 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003691/1.681, allocations: 2.113 MB / 1.065 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.681, allocations: 0 / 1.065 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006366/1.687, allocations: 1.802 MB / 1.067 GB, free: 9.527 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.06768/1.755, allocations: 20.82 MB / 1.087 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02961/1.785, allocations: 8.964 MB / 1.096 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.785, allocations: 2 kB / 1.096 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.02178/1.807, allocations: 5.928 MB / 1.102 GB, free: 5.59 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005072/1.812, allocations: 390.5 kB / 1.102 GB, free: 5.207 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5144/2.326, allocations: 58.21 MB / 1.159 GB, free: 244.5 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002076/2.328, allocations: 1.923 MB / 1.161 GB, free: 242.6 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001728/2.33, allocations: 371.5 kB / 1.161 GB, free: 242.2 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002243/2.332, allocations: 2.019 MB / 1.163 GB, free: 240.2 MB / 0.7637 GB Notification: Performance of SimCode: time 1.843e-06/2.332, allocations: 0 / 1.163 GB, free: 240.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1886/2.521, allocations: 138 MB / 1.298 GB, free: 102.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.13/23.65, allocations: 8.062 kB / 1.298 GB, free: 102.7 MB / 0.7637 GB " [Timeout remaining time 636] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.361499508377165] Failed to read output from testmodel.py, exit status != 0: 23.83903248794377 23.858234434 23.593830835 Calling exit ...