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.001493/0.001493, allocations: 106.2 kB / 16.45 MB, free: 6.453 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.617/1.617, allocations: 230.6 MB / 249.8 MB, free: 9.219 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.002226/0.002226, allocations: 211.5 kB / 306 MB, free: 4.297 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.6023/0.6023, allocations: 101.3 MB / 463.4 MB, free: 11.91 MB / 334.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_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.002815/0.002815, allocations: 83.88 kB / 0.6194 GB, free: 15.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1985, allocations: 78.57 MB / 0.6962 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.4625/0.661, allocations: 22.01 MB / 0.7177 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01745/0.6784, allocations: 4.945 MB / 0.7225 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007456/0.6859, allocations: 41.34 kB / 0.7225 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00433/0.6902, allocations: 0.8823 MB / 0.7234 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01324/0.7035, allocations: 2.324 MB / 0.7257 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007822/0.7113, allocations: 2.065 MB / 0.7277 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01462/0.7259, allocations: 5.782 MB / 0.7333 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002893/0.7288, allocations: 0.9098 MB / 0.7342 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006067/0.7349, allocations: 2.416 MB / 0.7366 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006993/0.7419, allocations: 2.987 MB / 0.7395 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002043/0.7439, allocations: 443.3 kB / 0.7399 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/0.7468, allocations: 0.6018 MB / 0.7405 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001434/0.7482, allocations: 1.167 MB / 0.7416 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005187/0.7534, allocations: 2.632 MB / 0.7442 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.7662, allocations: 6.311 MB / 0.7504 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.7662, allocations: 4 kB / 0.7504 GB, free: 5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7662, allocations: 1.406 kB / 0.7504 GB, free: 5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002967/0.7665, allocations: 0 / 0.7504 GB, free: 5 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.038/0.8045, allocations: 9.409 MB / 0.7596 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.8046, allocations: 10.41 kB / 0.7596 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008519/0.8055, allocations: 488.9 kB / 0.7601 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02817/0.8336, allocations: 4.06 MB / 0.764 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008614/0.8422, allocations: 2.717 MB / 0.7667 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001282/0.8435, allocations: 0.9534 MB / 0.7676 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001077/0.8446, allocations: 348 kB / 0.7679 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/0.8556, allocations: 4.743 MB / 0.7726 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.194e-05/0.8557, allocations: 0 / 0.7726 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004336/0.8561, allocations: 140 kB / 0.7727 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.569e-05/0.8562, allocations: 84 kB / 0.7728 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009978/0.8662, allocations: 4.259 MB / 0.7769 GB, free: 15.05 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.04086/0.907, allocations: 18.28 MB / 0.7948 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01386/0.9209, allocations: 4.665 MB / 0.7993 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006662/0.9275, allocations: 2.486 MB / 0.8018 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007179/0.9283, allocations: 70.92 kB / 0.8018 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008497/0.9368, allocations: 3.189 MB / 0.805 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=384): time 8.586e-06/0.9368, allocations: 0 / 0.805 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=384): time 0.3289/1.266, allocations: 67.66 MB / 0.871 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/1.266, allocations: 141.8 kB / 0.8712 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008394/1.274, allocations: 3.254 MB / 0.8743 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001437/1.276, allocations: 93.69 kB / 0.8744 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002322/1.278, allocations: 2.009 MB / 0.8764 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003097/1.281, allocations: 1.379 MB / 0.8777 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004006/1.285, allocations: 0.6902 MB / 0.8784 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001811/1.285, allocations: 305.1 kB / 0.8787 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007499/1.293, allocations: 2.601 MB / 0.8812 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00822/1.301, allocations: 3.237 MB / 0.8844 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08292/1.384, allocations: 19.21 MB / 0.9032 GB, free: 11.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-05/1.384, allocations: 4 kB / 0.9032 GB, free: 11.69 MB / 0.67 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.0675/1.451, allocations: 17.19 MB / 0.92 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/1.452, allocations: 71.41 kB / 0.92 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.993e-05/1.452, allocations: 15.94 kB / 0.92 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02945/1.481, allocations: 7.15 MB / 0.927 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004203/1.485, allocations: 0.6865 MB / 0.9277 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.111/1.596, allocations: 33.35 MB / 0.9603 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007817/1.604, allocations: 0.6299 MB / 0.9609 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001367/1.606, allocations: 156 kB / 0.961 GB, free: 200 kB / 0.7169 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.004116/1.61, allocations: 0.68 MB / 0.9617 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002497/1.612, allocations: 484.8 kB / 0.9621 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.48/2.092, allocations: 16.74 MB / 0.9785 GB, free: 231.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.435e-05/2.092, allocations: 37.44 kB / 0.9785 GB, free: 231.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.374e-05/2.092, allocations: 27.66 kB / 0.9786 GB, free: 231.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001127/2.092, allocations: 21.55 kB / 0.9786 GB, free: 231.4 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.07096/2.163, allocations: 21.76 MB / 0.9998 GB, free: 228.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/2.163, allocations: 3.719 kB / 0.9998 GB, free: 228.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002711/2.166, allocations: 394.2 kB / 1 GB, free: 228.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02838/2.194, allocations: 7.365 MB / 1.007 GB, free: 227.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001149/2.196, allocations: 73.91 kB / 1.007 GB, free: 227.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08057/2.276, allocations: 31.83 MB / 1.039 GB, free: 213.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/2.276, allocations: 4.672 kB / 1.039 GB, free: 213.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05942/2.336, allocations: 20.16 MB / 1.058 GB, free: 196.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002327/2.338, allocations: 0.5787 MB / 1.059 GB, free: 195.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/2.339, allocations: 68 kB / 1.059 GB, free: 195.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004495/2.344, allocations: 379.5 kB / 1.059 GB, free: 195.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003038/2.347, allocations: 0.7843 MB / 1.06 GB, free: 194.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002933/2.347, allocations: 95.98 kB / 1.06 GB, free: 194.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002773/2.35, allocations: 2.133 MB / 1.062 GB, free: 192.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/2.35, allocations: 0 / 1.062 GB, free: 192.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005808/2.356, allocations: 1.816 MB / 1.064 GB, free: 190.4 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.05887/2.414, allocations: 20.82 MB / 1.084 GB, free: 169.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02608/2.441, allocations: 8.802 MB / 1.093 GB, free: 160.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/2.441, allocations: 0 / 1.093 GB, free: 160.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01951/2.46, allocations: 5.912 MB / 1.099 GB, free: 154.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004319/2.464, allocations: 383.9 kB / 1.099 GB, free: 154.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1517/2.616, allocations: 59 MB / 1.157 GB, free: 94.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/2.618, allocations: 2.447 MB / 1.159 GB, free: 92.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001768/2.62, allocations: 379.1 kB / 1.159 GB, free: 91.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002261/2.622, allocations: 2.03 MB / 1.161 GB, free: 89.67 MB / 0.7325 GB Notification: Performance of SimCode: time 1.132e-06/2.622, allocations: 0 / 1.161 GB, free: 89.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6666/3.288, allocations: 128.2 MB / 1.287 GB, free: 237.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.15/27.44, allocations: 11.39 kB / 1.287 GB, free: 237.7 MB / 0.7481 GB " [Timeout remaining time 632] (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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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.735632851952687] Failed to read output from testmodel.py, exit status != 0: 27.60625340603292 27.618089672 26.84907689 Calling exit ...