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.001561/0.001561, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.622/1.622, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.002278/0.002278, allocations: 202.4 kB / 309.2 MB, free: 3.117 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.6886/0.6886, allocations: 107.3 MB / 473 MB, free: 29.89 MB / 350.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.002544/0.002544, allocations: 89.17 kB / 0.6334 GB, free: 29.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1908, allocations: 80.17 MB / 0.7116 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02327/0.2141, allocations: 18.41 MB / 0.7296 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01564/0.2297, allocations: 4.819 MB / 0.7343 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006145/0.2359, allocations: 44 kB / 0.7344 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004273/0.2402, allocations: 0.8829 MB / 0.7352 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.2511, allocations: 2.287 MB / 0.7375 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007489/0.2586, allocations: 2.042 MB / 0.7395 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0133/0.2719, allocations: 5.732 MB / 0.7451 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/0.2744, allocations: 0.8688 MB / 0.7459 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005473/0.2798, allocations: 2.4 MB / 0.7482 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006352/0.2862, allocations: 2.662 MB / 0.7508 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002641/0.2888, allocations: 443.9 kB / 0.7513 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003188/0.292, allocations: 0.5936 MB / 0.7519 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002483/0.2945, allocations: 1.147 MB / 0.753 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005076/0.2996, allocations: 2.121 MB / 0.755 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.3114, allocations: 6.317 MB / 0.7612 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3114, allocations: 4 kB / 0.7612 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3114, allocations: 0 / 0.7612 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003249/0.3117, allocations: 0 / 0.7612 GB, free: 4.43 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.03671/0.3484, allocations: 9.911 MB / 0.7709 GB, free: 10.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.3485, allocations: 8.031 kB / 0.7709 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001351/0.3498, allocations: 488.8 kB / 0.7714 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02803/0.3779, allocations: 4.051 MB / 0.7753 GB, free: 5.871 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008736/0.3866, allocations: 2.57 MB / 0.7778 GB, free: 3.211 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001548/0.3882, allocations: 1.033 MB / 0.7788 GB, free: 2.023 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002067/0.3902, allocations: 347.9 kB / 0.7792 GB, free: 1.684 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01743/0.4077, allocations: 4.756 MB / 0.7838 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001664/0.4078, allocations: 0 / 0.7838 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001577/0.4094, allocations: 144 kB / 0.784 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001291/0.4095, allocations: 84 kB / 0.784 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/0.4234, allocations: 4.242 MB / 0.7882 GB, free: 8.41 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.04547/0.4688, allocations: 13.4 MB / 0.8013 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01452/0.4834, allocations: 4.357 MB / 0.8055 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00764/0.491, allocations: 2.499 MB / 0.808 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009738/0.492, allocations: 66.94 kB / 0.808 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00972/0.5017, allocations: 3.195 MB / 0.8111 GB, free: 388 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=382): time 1.264e-05/0.5017, allocations: 0 / 0.8111 GB, free: 388 kB / 0.5762 GB Notification: Performance of matching and sorting (n=382): time 0.8016/1.303, allocations: 67.98 MB / 0.8775 GB, free: 43.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.303, allocations: 145.8 kB / 0.8777 GB, free: 43.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005776/1.309, allocations: 3.253 MB / 0.8808 GB, free: 39.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001202/1.31, allocations: 93.7 kB / 0.8809 GB, free: 39.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001483/1.312, allocations: 1.997 MB / 0.8829 GB, free: 38.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002323/1.314, allocations: 1.374 MB / 0.8842 GB, free: 37.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00333/1.318, allocations: 0.6744 MB / 0.8849 GB, free: 36.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.542e-05/1.318, allocations: 305.1 kB / 0.8852 GB, free: 36.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005822/1.323, allocations: 2.627 MB / 0.8877 GB, free: 33.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006473/1.33, allocations: 3.259 MB / 0.8909 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06708/1.397, allocations: 18.97 MB / 0.9094 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.275e-05/1.397, allocations: 4 kB / 0.9095 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.06061/1.458, allocations: 16.88 MB / 0.9259 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/1.458, allocations: 71.39 kB / 0.926 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-05/1.458, allocations: 12 kB / 0.926 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02814/1.486, allocations: 7.221 MB / 0.9331 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003893/1.49, allocations: 0.6709 MB / 0.9337 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.11/1.6, allocations: 32.79 MB / 0.9657 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007238/1.607, allocations: 0.6307 MB / 0.9664 GB, free: 384 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/1.609, allocations: 156 kB / 0.9665 GB, free: 228 kB / 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.004369/1.613, allocations: 0.6652 MB / 0.9672 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002591/1.615, allocations: 479.2 kB / 0.9676 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06372/1.679, allocations: 16.74 MB / 0.984 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.29e-05/1.679, allocations: 36 kB / 0.984 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001428/1.679, allocations: 28 kB / 0.984 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001301/1.68, allocations: 23.64 kB / 0.984 GB, free: 14.19 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.0759/1.755, allocations: 20.38 MB / 1.004 GB, free: 9.828 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-05/1.755, allocations: 0 / 1.004 GB, free: 9.828 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002621/1.758, allocations: 387.5 kB / 1.004 GB, free: 9.449 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02803/1.786, allocations: 7.373 MB / 1.012 GB, free: 2.066 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001249/1.787, allocations: 71.98 kB / 1.012 GB, free: 1.996 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1001/1.887, allocations: 30.79 MB / 1.042 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.887, allocations: 0.6875 kB / 1.042 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07501/1.962, allocations: 20.16 MB / 1.061 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002135/1.965, allocations: 0.498 MB / 1.062 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002324/1.967, allocations: 67.94 kB / 1.062 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00624/1.973, allocations: 383.7 kB / 1.062 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004523/1.978, allocations: 0.8114 MB / 1.063 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001166/1.979, allocations: 100.8 kB / 1.063 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.005645/1.984, allocations: 2.109 MB / 1.065 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.91e-07/1.984, allocations: 1.094 kB / 1.065 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.01086/1.995, allocations: 1.812 MB / 1.067 GB, free: 9.066 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.07587/2.071, allocations: 20.8 MB / 1.087 GB, free: 4.156 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.03167/2.103, allocations: 8.972 MB / 1.096 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/2.103, allocations: 0 / 1.096 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.02332/2.126, allocations: 5.924 MB / 1.102 GB, free: 5.133 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006877/2.133, allocations: 394.7 kB / 1.102 GB, free: 4.742 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6156/2.749, allocations: 58.2 MB / 1.159 GB, free: 243.8 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003854/2.753, allocations: 1.935 MB / 1.161 GB, free: 241.8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002798/2.755, allocations: 380.5 kB / 1.161 GB, free: 241.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00348/2.759, allocations: 2.018 MB / 1.163 GB, free: 239.5 MB / 0.7637 GB Notification: Performance of SimCode: time 1.904e-06/2.759, allocations: 0 / 1.163 GB, free: 239.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2362/2.995, allocations: 137.9 MB / 1.298 GB, free: 102 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.53/25.53, allocations: 0 / 1.298 GB, free: 102 MB / 0.7637 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 30.17227975372225] Failed to read output from testmodel.py, exit status != 0: 25.721708085853606 25.738989881 25.423666474 Calling exit ...