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.001266/0.001266, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.416/1.416, 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.001545/0.001545, allocations: 214.8 kB / 310 MB, free: 3.035 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.5739/0.5739, allocations: 101.3 MB / 467.7 MB, free: 32.11 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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_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.002304/0.002304, allocations: 87.27 kB / 0.6252 GB, free: 33.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1378, allocations: 78.61 MB / 0.702 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02063/0.1585, allocations: 18.39 MB / 0.7199 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.1701, allocations: 4.818 MB / 0.7246 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003723/0.1738, allocations: 47.94 kB / 0.7247 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002609/0.1764, allocations: 0.8789 MB / 0.7255 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007603/0.184, allocations: 2.275 MB / 0.7278 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005617/0.1896, allocations: 2.054 MB / 0.7298 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008746/0.1984, allocations: 5.732 MB / 0.7354 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.2001, allocations: 0.9235 MB / 0.7363 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003713/0.2038, allocations: 2.4 MB / 0.7386 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004215/0.208, allocations: 2.959 MB / 0.7415 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009196/0.2089, allocations: 440 kB / 0.7419 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.2104, allocations: 0.6015 MB / 0.7425 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.2115, allocations: 1.147 MB / 0.7436 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002458/0.2139, allocations: 2.125 MB / 0.7457 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008532/0.2224, allocations: 6.317 MB / 0.7519 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.2225, allocations: 4 kB / 0.7519 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2225, allocations: 0 / 0.7519 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000191/0.2226, allocations: 0 / 0.7519 GB, free: 13.37 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.03355/0.2562, allocations: 9.903 MB / 0.7615 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.2562, allocations: 8.031 kB / 0.7615 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001103/0.2564, allocations: 86.52 kB / 0.7616 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006696/0.257, allocations: 484.8 kB / 0.7621 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02718/0.2842, allocations: 4.055 MB / 0.7661 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00623/0.2904, allocations: 2.57 MB / 0.7686 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001125/0.2916, allocations: 1.033 MB / 0.7696 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008833/0.2924, allocations: 348 kB / 0.7699 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.3027, allocations: 4.76 MB / 0.7746 GB, free: 5.746 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-05/0.3027, allocations: 8 kB / 0.7746 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004108/0.3031, allocations: 140 kB / 0.7747 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.302e-05/0.3032, allocations: 87.98 kB / 0.7748 GB, free: 5.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009198/0.3124, allocations: 4.265 MB / 0.7789 GB, free: 1.238 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.03323/0.3456, allocations: 13.39 MB / 0.792 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/0.3586, allocations: 4.353 MB / 0.7963 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006253/0.3648, allocations: 2.499 MB / 0.7987 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005912/0.3654, allocations: 54.95 kB / 0.7988 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008074/0.3735, allocations: 3.199 MB / 0.8019 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=382): time 1.022e-05/0.3735, allocations: 0 / 0.8019 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=382): time 0.6559/1.029, allocations: 67.98 MB / 0.8683 GB, free: 59.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/1.029, allocations: 145.8 kB / 0.8684 GB, free: 59.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005074/1.035, allocations: 3.231 MB / 0.8716 GB, free: 56.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001063/1.036, allocations: 85.7 kB / 0.8717 GB, free: 56.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/1.037, allocations: 2.008 MB / 0.8736 GB, free: 54.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001993/1.039, allocations: 1.373 MB / 0.875 GB, free: 53.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002574/1.041, allocations: 0.6666 MB / 0.8756 GB, free: 52.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.437e-05/1.042, allocations: 305.1 kB / 0.8759 GB, free: 52.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004799/1.046, allocations: 2.631 MB / 0.8785 GB, free: 49.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005229/1.052, allocations: 3.255 MB / 0.8816 GB, free: 46.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06836/1.12, allocations: 18.97 MB / 0.9002 GB, free: 27.08 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.435e-05/1.12, allocations: 4 kB / 0.9002 GB, free: 27.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05358/1.174, allocations: 16.88 MB / 0.9167 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.174, allocations: 71.94 kB / 0.9167 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.603e-05/1.174, allocations: 12 kB / 0.9167 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02446/1.198, allocations: 7.221 MB / 0.9238 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003634/1.202, allocations: 0.6631 MB / 0.9244 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1051/1.307, allocations: 32.8 MB / 0.9565 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006621/1.313, allocations: 0.6299 MB / 0.9571 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/1.315, allocations: 155.9 kB / 0.9572 GB, free: 0.5742 MB / 0.6075 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.0037/1.318, allocations: 0.6645 MB / 0.9579 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002132/1.321, allocations: 484.9 kB / 0.9584 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06339/1.384, allocations: 16.73 MB / 0.9747 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.589e-05/1.384, allocations: 36 kB / 0.9747 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001271/1.384, allocations: 30.53 kB / 0.9748 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001252/1.384, allocations: 28.8 kB / 0.9748 GB, free: 14.53 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.071/1.455, allocations: 20.37 MB / 0.9947 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-05/1.455, allocations: 4.031 kB / 0.9947 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002504/1.458, allocations: 394 kB / 0.9951 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02811/1.486, allocations: 7.363 MB / 1.002 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001002/1.487, allocations: 67.98 kB / 1.002 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08827/1.575, allocations: 30.79 MB / 1.032 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.575, allocations: 0 / 1.032 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06895/1.644, allocations: 20.16 MB / 1.052 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/1.646, allocations: 0.4989 MB / 1.053 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001718/1.648, allocations: 68 kB / 1.053 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005218/1.653, allocations: 383.5 kB / 1.053 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003777/1.657, allocations: 0.8153 MB / 1.054 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000725/1.657, allocations: 95.98 kB / 1.054 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004424/1.662, allocations: 2.113 MB / 1.056 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/1.662, allocations: 0 / 1.056 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007032/1.669, allocations: 1.802 MB / 1.058 GB, free: 9.418 MB / 0.7169 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.06776/1.736, allocations: 20.82 MB / 1.078 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02805/1.765, allocations: 8.973 MB / 1.087 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.765, allocations: 0 / 1.087 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.02159/1.786, allocations: 5.91 MB / 1.093 GB, free: 5.492 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004749/1.791, allocations: 385 kB / 1.093 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4712/2.262, allocations: 58.23 MB / 1.15 GB, free: 235.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002585/2.265, allocations: 1.927 MB / 1.152 GB, free: 233.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001826/2.266, allocations: 379.6 kB / 1.152 GB, free: 233.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002478/2.269, allocations: 2.014 MB / 1.154 GB, free: 231.5 MB / 0.7481 GB Notification: Performance of SimCode: time 9.51e-07/2.269, allocations: 4 kB / 1.154 GB, free: 231.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1683/2.437, allocations: 136.2 MB / 1.287 GB, free: 95.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.52/25.96, allocations: 14.34 kB / 1.287 GB, free: 95.97 MB / 0.7481 GB " [Timeout remaining time 634] (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: 30.802647495060228] Failed to read output from testmodel.py, exit status != 0: 26.209086784976535 26.229153148 26.002659264 Calling exit ...