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.001589/0.001589, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.454/1.454, allocations: 230.6 MB / 253.4 MB, free: 14.5 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.00146/0.00146, allocations: 211.1 kB / 310 MB, free: 3.102 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.5822/0.5822, allocations: 101.3 MB / 467.8 MB, free: 30.54 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.002363/0.002363, allocations: 86.06 kB / 0.6253 GB, free: 33.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1361, allocations: 78.6 MB / 0.702 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02269/0.1588, allocations: 22.05 MB / 0.7236 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01131/0.1701, allocations: 4.959 MB / 0.7284 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003313/0.1734, allocations: 44 kB / 0.7285 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.1758, allocations: 0.8867 MB / 0.7293 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006871/0.1827, allocations: 2.325 MB / 0.7316 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00534/0.1881, allocations: 2.068 MB / 0.7336 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008409/0.1965, allocations: 5.802 MB / 0.7393 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.1986, allocations: 0.9158 MB / 0.7402 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/0.2026, allocations: 2.419 MB / 0.7425 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004916/0.2075, allocations: 2.986 MB / 0.7455 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00159/0.2091, allocations: 448 kB / 0.7459 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002146/0.2112, allocations: 0.6054 MB / 0.7465 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001857/0.2131, allocations: 1.167 MB / 0.7476 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004027/0.2171, allocations: 2.629 MB / 0.7502 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009484/0.2266, allocations: 6.313 MB / 0.7564 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2266, allocations: 0 / 0.7564 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2266, allocations: 0 / 0.7564 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000207/0.2268, allocations: 3.938 kB / 0.7564 GB, free: 9.113 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.03418/0.261, allocations: 9.958 MB / 0.7661 GB, free: 15.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.261, allocations: 15.97 kB / 0.7661 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.193e-05/0.2611, allocations: 90.47 kB / 0.7662 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006873/0.2618, allocations: 488.9 kB / 0.7666 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02896/0.2908, allocations: 4.059 MB / 0.7706 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006007/0.2968, allocations: 2.598 MB / 0.7731 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001164/0.2979, allocations: 1.029 MB / 0.7742 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.299, allocations: 352 kB / 0.7745 GB, free: 6.188 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/0.3104, allocations: 4.75 MB / 0.7791 GB, free: 1.406 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.419e-05/0.3104, allocations: 0 / 0.7791 GB, free: 1.406 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004172/0.3109, allocations: 148 kB / 0.7793 GB, free: 1.262 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.098e-05/0.3109, allocations: 84 kB / 0.7793 GB, free: 1.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.3219, allocations: 4.248 MB / 0.7835 GB, free: 12.92 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.03951/0.3614, allocations: 18.09 MB / 0.8012 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/0.3749, allocations: 4.364 MB / 0.8054 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006766/0.3817, allocations: 2.483 MB / 0.8079 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004911/0.3822, allocations: 70.92 kB / 0.8079 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3105/0.6927, allocations: 3.181 MB / 0.811 GB, free: 91.97 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=384): time 8.285e-06/0.6927, allocations: 0 / 0.811 GB, free: 91.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=384): time 0.2876/0.9803, allocations: 67.5 MB / 0.8769 GB, free: 50.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.9804, allocations: 149.7 kB / 0.8771 GB, free: 50.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003879/0.9843, allocations: 3.255 MB / 0.8803 GB, free: 47.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001009/0.9853, allocations: 93.7 kB / 0.8804 GB, free: 46.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.9863, allocations: 2.006 MB / 0.8823 GB, free: 45.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001684/0.988, allocations: 1.384 MB / 0.8837 GB, free: 44.17 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/0.9894, allocations: 0.6785 MB / 0.8843 GB, free: 43.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.353e-05/0.9894, allocations: 301.1 kB / 0.8846 GB, free: 43.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005095/0.9945, allocations: 2.608 MB / 0.8872 GB, free: 40.56 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005741/1, allocations: 3.23 MB / 0.8903 GB, free: 37.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06958/1.07, allocations: 19.21 MB / 0.9091 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.501e-05/1.07, allocations: 4 kB / 0.9091 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.05737/1.127, allocations: 17.19 MB / 0.9259 GB, free: 408 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.882e-05/1.127, allocations: 67.39 kB / 0.9259 GB, free: 328 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.083e-05/1.127, allocations: 14.39 kB / 0.926 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02917/1.157, allocations: 7.16 MB / 0.9329 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0042/1.161, allocations: 0.6903 MB / 0.9336 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1033/1.264, allocations: 33.24 MB / 0.9661 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006243/1.27, allocations: 0.6235 MB / 0.9667 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/1.271, allocations: 160 kB / 0.9668 GB, free: 6.391 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.003097/1.274, allocations: 0.6696 MB / 0.9675 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001822/1.276, allocations: 480.8 kB / 0.968 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06383/1.34, allocations: 16.74 MB / 0.9843 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.433e-05/1.34, allocations: 39.94 kB / 0.9843 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.229e-05/1.34, allocations: 28 kB / 0.9844 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.954e-05/1.34, allocations: 23.92 kB / 0.9844 GB, free: 4.344 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.07305/1.413, allocations: 21.73 MB / 1.006 GB, free: 14.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-05/1.413, allocations: 0 / 1.006 GB, free: 14.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00249/1.416, allocations: 391.5 kB / 1.006 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02805/1.444, allocations: 7.374 MB / 1.013 GB, free: 6.828 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000984/1.445, allocations: 67.98 kB / 1.013 GB, free: 6.762 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09295/1.538, allocations: 31.62 MB / 1.044 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.538, allocations: 0 / 1.044 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0707/1.609, allocations: 20.14 MB / 1.064 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/1.61, allocations: 0.5183 MB / 1.064 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001786/1.612, allocations: 64 kB / 1.064 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005438/1.617, allocations: 386.4 kB / 1.065 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003756/1.621, allocations: 0.8153 MB / 1.066 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008072/1.622, allocations: 91.98 kB / 1.066 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00457/1.627, allocations: 2.137 MB / 1.068 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/1.627, allocations: 1.75 kB / 1.068 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007384/1.634, allocations: 1.817 MB / 1.069 GB, free: 12.99 MB / 0.7325 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.07254/1.706, allocations: 20.8 MB / 1.09 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.323/2.029, allocations: 8.808 MB / 1.098 GB, free: 256.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/2.029, allocations: 0.6562 kB / 1.098 GB, free: 256.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.02099/2.05, allocations: 5.916 MB / 1.104 GB, free: 255.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/2.053, allocations: 388.1 kB / 1.105 GB, free: 255.6 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.155/2.208, allocations: 59.01 MB / 1.162 GB, free: 224.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/2.21, allocations: 2.451 MB / 1.165 GB, free: 221.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001495/2.212, allocations: 371.1 kB / 1.165 GB, free: 221.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/2.213, allocations: 2.034 MB / 1.167 GB, free: 219.3 MB / 0.7481 GB Notification: Performance of SimCode: time 6.41e-07/2.213, allocations: 0 / 1.167 GB, free: 219.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1677/2.381, allocations: 131.5 MB / 1.295 GB, free: 87.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.87/26.25, allocations: 7.922 kB / 1.295 GB, free: 87.98 MB / 0.7481 GB " [Timeout remaining time 633] (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: 31.050206359941512] Failed to read output from testmodel.py, exit status != 0: 26.501906392979436 26.518768338 26.288791813 Calling exit ...