Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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.00182/0.00182, 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.595/1.595, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001684/0.001684, allocations: 206.7 kB / 309.2 MB, free: 3.082 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.7385/0.7385, allocations: 107.3 MB / 473 MB, free: 29.84 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.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",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.003846/0.003846, allocations: 87.58 kB / 0.6332 GB, free: 29.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.2008, allocations: 80.17 MB / 0.7115 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01752/0.2184, allocations: 12.82 MB / 0.724 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.2297, allocations: 4.48 MB / 0.7284 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003791/0.2335, allocations: 32 kB / 0.7284 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003089/0.2366, allocations: 0.7831 MB / 0.7292 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008229/0.2448, allocations: 2.012 MB / 0.7312 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004347/0.2492, allocations: 1.411 MB / 0.7325 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008435/0.2576, allocations: 4.532 MB / 0.737 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.2594, allocations: 0.5112 MB / 0.7375 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003992/0.2634, allocations: 1.868 MB / 0.7393 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004338/0.2677, allocations: 2.197 MB / 0.7414 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001452/0.2692, allocations: 404 kB / 0.7418 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.2712, allocations: 0.5897 MB / 0.7424 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009809/0.2722, allocations: 0.9572 MB / 0.7433 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002187/0.2744, allocations: 1.613 MB / 0.7449 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007389/0.2818, allocations: 5.338 MB / 0.7501 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.2818, allocations: 0 / 0.7501 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2818, allocations: 0 / 0.7501 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001471/0.2819, allocations: 0 / 0.7501 GB, free: 15.85 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: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.03362/0.3155, allocations: 8.223 MB / 0.7582 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/0.3156, allocations: 12.03 kB / 0.7582 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004839/0.3161, allocations: 286.6 kB / 0.7584 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.3275, allocations: 1.769 MB / 0.7602 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005167/0.3327, allocations: 2.113 MB / 0.7622 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001002/0.3337, allocations: 0.8248 MB / 0.763 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008082/0.3345, allocations: 240 kB / 0.7633 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006439/0.341, allocations: 2.701 MB / 0.7659 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.341, allocations: 0 / 0.7659 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/0.3412, allocations: 80 kB / 0.766 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/0.3413, allocations: 44 kB / 0.766 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006788/0.3481, allocations: 2.83 MB / 0.7688 GB, free: 12.48 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.02216/0.3702, allocations: 7.981 MB / 0.7766 GB, free: 4.359 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01233/0.3826, allocations: 3.886 MB / 0.7804 GB, free: 496 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004802/0.3874, allocations: 1.747 MB / 0.7821 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.3877, allocations: 41.92 kB / 0.7821 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.9e-05/0.3877, allocations: 56.56 kB / 0.7822 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=253): time 4.709e-06/0.3877, allocations: 4 kB / 0.7822 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=253): time 0.1115/0.4993, allocations: 25.34 MB / 0.8069 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.337e-05/0.4994, allocations: 81.39 kB / 0.807 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005962/0.5053, allocations: 2.914 MB / 0.8098 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001142/0.5065, allocations: 85.7 kB / 0.8099 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.5078, allocations: 1.27 MB / 0.8112 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.4435/0.9513, allocations: 0.9517 MB / 0.8121 GB, free: 86.65 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00202/0.9534, allocations: 0.7518 MB / 0.8128 GB, free: 86.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.9534, allocations: 306.4 kB / 0.8131 GB, free: 86.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006099/0.9595, allocations: 2.287 MB / 0.8154 GB, free: 86.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006698/0.9662, allocations: 2.688 MB / 0.818 GB, free: 85.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/0.9786, allocations: 4.865 MB / 0.8227 GB, free: 83.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.027e-05/0.9786, allocations: 3.5 kB / 0.8227 GB, free: 83.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.01913/0.9977, allocations: 7.157 MB / 0.8297 GB, free: 80.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.9978, allocations: 8.719 kB / 0.8297 GB, free: 80.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.9978, allocations: 5.125 kB / 0.8297 GB, free: 80.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02018/1.018, allocations: 5.728 MB / 0.8353 GB, free: 79.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/1.022, allocations: 0.6649 MB / 0.836 GB, free: 79.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/1.034, allocations: 5.452 MB / 0.8413 GB, free: 77.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005449/1.04, allocations: 0.5199 MB / 0.8418 GB, free: 77.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005866/1.04, allocations: 133.8 kB / 0.8419 GB, free: 77.48 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (414): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * 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 {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.00127/1.042, allocations: 0.5325 MB / 0.8425 GB, free: 77.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008056/1.042, allocations: 356 kB / 0.8428 GB, free: 76.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03107/1.073, allocations: 10.44 MB / 0.853 GB, free: 69.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/1.074, allocations: 24 kB / 0.853 GB, free: 69.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/1.074, allocations: 4 kB / 0.853 GB, free: 69.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-05/1.074, allocations: 11.95 kB / 0.853 GB, free: 69.46 MB / 0.5762 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.0358/1.109, allocations: 13.09 MB / 0.8658 GB, free: 56.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.854e-05/1.109, allocations: 4.812 kB / 0.8658 GB, free: 56.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/1.111, allocations: 263.6 kB / 0.8661 GB, free: 56.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01508/1.126, allocations: 4.752 MB / 0.8707 GB, free: 51.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008202/1.127, allocations: 48 kB / 0.8708 GB, free: 51.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05324/1.18, allocations: 20.82 MB / 0.8911 GB, free: 30.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/1.18, allocations: 3.984 kB / 0.8911 GB, free: 30.39 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03877/1.219, allocations: 12.8 MB / 0.9036 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/1.22, allocations: 453.2 kB / 0.904 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001452/1.222, allocations: 47.94 kB / 0.9041 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004416/1.226, allocations: 247.7 kB / 0.9043 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002208/1.229, allocations: 0.5448 MB / 0.9048 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000557/1.229, allocations: 64 kB / 0.9049 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003646/1.233, allocations: 1.877 MB / 0.9067 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.233, allocations: 0 / 0.9067 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005166/1.238, allocations: 1.13 MB / 0.9078 GB, free: 13.23 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (160): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * 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 {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03879/1.277, allocations: 13.24 MB / 0.9208 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02118/1.298, allocations: 5.78 MB / 0.9264 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/1.298, allocations: 0 / 0.9264 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01408/1.312, allocations: 3.629 MB / 0.93 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004871/1.317, allocations: 280 kB / 0.9302 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08731/1.404, allocations: 35.48 MB / 0.9649 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/1.406, allocations: 1.298 MB / 0.9661 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001611/1.407, allocations: 293.2 kB / 0.9664 GB, free: 500 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002478/1.41, allocations: 1.407 MB / 0.9678 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of SimCode: time 2.695e-06/1.41, allocations: 0 / 0.9678 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1849/1.595, allocations: 93.36 MB / 1.059 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.87/20.46, allocations: 9.938 kB / 1.059 GB, free: 1.895 MB / 0.7169 GB " [Timeout remaining time 639] (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 0.001 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.170306030660868] Failed to read output from testmodel.py, exit status != 0: 20.642235758248717 20.65808578 20.372740019 Calling exit ...