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.001488/0.001488, allocations: 105.7 kB / 16.45 MB, free: 6.5 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.545/1.545, allocations: 230.6 MB / 249.8 MB, free: 9.211 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.001636/0.001636, allocations: 216.1 kB / 306 MB, free: 4.324 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.5996/0.5996, allocations: 101.3 MB / 463.4 MB, free: 11.92 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.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.003526/0.003526, allocations: 83.88 kB / 0.6193 GB, free: 15.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2049, allocations: 78.57 MB / 0.696 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.4445/0.6494, allocations: 15.1 MB / 0.7108 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01387/0.6633, allocations: 4.654 MB / 0.7153 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00546/0.6688, allocations: 25.69 kB / 0.7153 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003936/0.6727, allocations: 0.7766 MB / 0.7161 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.011/0.6837, allocations: 2.045 MB / 0.7181 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005099/0.6888, allocations: 1.429 MB / 0.7195 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01092/0.6997, allocations: 4.553 MB / 0.7239 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.7014, allocations: 0.5375 MB / 0.7245 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004846/0.7063, allocations: 1.863 MB / 0.7263 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006269/0.7126, allocations: 2.405 MB / 0.7286 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002449/0.715, allocations: 404.8 kB / 0.729 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003667/0.7187, allocations: 0.6453 MB / 0.7297 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001752/0.7204, allocations: 0.9535 MB / 0.7306 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.007301/0.7277, allocations: 1.99 MB / 0.7325 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.7396, allocations: 5.304 MB / 0.7377 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/0.7396, allocations: 0 / 0.7377 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.404e-06/0.7396, allocations: 1.531 kB / 0.7377 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000276/0.7399, allocations: 0 / 0.7377 GB, free: 14.63 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: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.04129/0.7812, allocations: 8.294 MB / 0.7458 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.772e-05/0.7812, allocations: 9.312 kB / 0.7458 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001588/0.7828, allocations: 289 kB / 0.7461 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/0.7971, allocations: 1.765 MB / 0.7478 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00873/0.8058, allocations: 2.2 MB / 0.75 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001374/0.8072, allocations: 0.6701 MB / 0.7506 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001604/0.8088, allocations: 244.2 kB / 0.7509 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.8206, allocations: 2.7 MB / 0.7535 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/0.8207, allocations: 3.938 kB / 0.7535 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001078/0.8218, allocations: 80.22 kB / 0.7536 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.8219, allocations: 46.66 kB / 0.7536 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/0.8335, allocations: 2.845 MB / 0.7564 GB, free: 3.754 MB / 0.5137 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.03717/0.8707, allocations: 11.06 MB / 0.7672 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01412/0.8848, allocations: 4.788 MB / 0.7719 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005276/0.8901, allocations: 1.751 MB / 0.7736 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005224/0.8906, allocations: 49.94 kB / 0.7736 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.475e-05/0.8907, allocations: 60.5 kB / 0.7737 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=253): time 6.362e-06/0.8907, allocations: 0 / 0.7737 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=253): time 0.1206/1.011, allocations: 25.43 MB / 0.7985 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.011, allocations: 77.41 kB / 0.7986 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008636/1.02, allocations: 2.91 MB / 0.8014 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001437/1.021, allocations: 85.7 kB / 0.8015 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002021/1.023, allocations: 1.27 MB / 0.8028 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002414/1.026, allocations: 0.9567 MB / 0.8037 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004587/1.03, allocations: 0.7564 MB / 0.8044 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.031, allocations: 301.1 kB / 0.8047 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006843/1.037, allocations: 2.288 MB / 0.807 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007682/1.045, allocations: 2.689 MB / 0.8096 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0144/1.06, allocations: 4.867 MB / 0.8143 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.722e-05/1.06, allocations: 4 kB / 0.8143 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.02436/1.084, allocations: 7.161 MB / 0.8213 GB, free: 452 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/1.084, allocations: 8 kB / 0.8213 GB, free: 444 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/1.084, allocations: 8 kB / 0.8213 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02236/1.106, allocations: 5.725 MB / 0.8269 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004019/1.11, allocations: 0.6671 MB / 0.8276 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0181/1.128, allocations: 5.441 MB / 0.8329 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006367/1.135, allocations: 0.5206 MB / 0.8334 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/1.136, allocations: 136 kB / 0.8335 GB, free: 3.898 MB / 0.5919 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.002506/1.138, allocations: 0.5401 MB / 0.8341 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00168/1.14, allocations: 353.7 kB / 0.8344 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03982/1.18, allocations: 10.45 MB / 0.8446 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-05/1.18, allocations: 24 kB / 0.8446 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.502e-05/1.18, allocations: 3.938 kB / 0.8446 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.922e-05/1.18, allocations: 11.95 kB / 0.8447 GB, free: 8.441 MB / 0.6075 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.05453/1.235, allocations: 14.61 MB / 0.8589 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.129e-05/1.235, allocations: 0 / 0.8589 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/1.237, allocations: 267.6 kB / 0.8592 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01817/1.255, allocations: 4.757 MB / 0.8638 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008162/1.255, allocations: 51.98 kB / 0.8639 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06084/1.316, allocations: 21.48 MB / 0.8848 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.316, allocations: 3.938 kB / 0.8848 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04458/1.361, allocations: 12.83 MB / 0.8974 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001934/1.363, allocations: 0.5061 MB / 0.8979 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001338/1.364, allocations: 48 kB / 0.8979 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003846/1.368, allocations: 251.4 kB / 0.8982 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002162/1.37, allocations: 0.5179 MB / 0.8987 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/1.37, allocations: 71.92 kB / 0.8987 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003514/1.374, allocations: 1.873 MB / 0.9006 GB, free: 14.65 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/1.374, allocations: 0 / 0.9006 GB, free: 14.65 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004618/1.379, allocations: 1.136 MB / 0.9017 GB, free: 13.51 MB / 0.67 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.04386/1.422, allocations: 13.24 MB / 0.9146 GB, free: 180 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02116/1.444, allocations: 5.779 MB / 0.9202 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/1.444, allocations: 0 / 0.9202 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0144/1.458, allocations: 3.637 MB / 0.9238 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005343/1.463, allocations: 273.6 kB / 0.924 GB, free: 6.445 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1074/1.571, allocations: 35.47 MB / 0.9587 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002842/1.574, allocations: 1.849 MB / 0.9605 GB, free: 468 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002175/1.576, allocations: 297 kB / 0.9608 GB, free: 164 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003263/1.579, allocations: 1.398 MB / 0.9621 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of SimCode: time 1.904e-06/1.579, allocations: 3.938 kB / 0.9621 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5931/2.172, allocations: 90.95 MB / 1.051 GB, free: 202.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.63/21.8, allocations: 2.5 kB / 1.051 GB, free: 202.2 MB / 0.7325 GB " [Timeout remaining time 638] (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: 26.805494003929198] Failed to read output from testmodel.py, exit status != 0: 21.944556324975565 21.956039704 21.213489235 Calling exit ...