Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 239.4 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 188.4 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4372/0.4372, allocations: 78.53 MB / 418.4 MB, free: 3.164 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 75.88 kB / 0.5531 GB, free: 1.539 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2968, allocations: 68.17 MB / 0.6197 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01021/0.307, allocations: 14.96 MB / 0.6343 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00909/0.3162, allocations: 4.608 MB / 0.6388 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.3185, allocations: 28 kB / 0.6388 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.3205, allocations: 0.7712 MB / 0.6396 GB, free: 5.773 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007034/0.3275, allocations: 2.573 MB / 0.6421 GB, free: 3.219 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.3305, allocations: 1.335 MB / 0.6434 GB, free: 1.898 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006109/0.3366, allocations: 4.891 MB / 0.6482 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.3378, allocations: 0.7953 MB / 0.649 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.3404, allocations: 1.887 MB / 0.6508 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.3431, allocations: 2.455 MB / 0.6532 GB, free: 7.801 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006493/0.3438, allocations: 400 kB / 0.6536 GB, free: 7.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.3449, allocations: 0.6365 MB / 0.6542 GB, free: 6.773 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006816/0.3456, allocations: 0.9766 MB / 0.6552 GB, free: 5.793 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001823/0.3475, allocations: 2.005 MB / 0.6571 GB, free: 3.777 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005127/0.3526, allocations: 5.351 MB / 0.6623 GB, free: 14.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3526, allocations: 0 / 0.6623 GB, free: 14.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3526, allocations: 4 kB / 0.6623 GB, free: 14.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001178/0.3528, allocations: 0 / 0.6623 GB, free: 14.4 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.0385/0.3913, allocations: 9.631 MB / 0.6717 GB, free: 4.695 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.3913, allocations: 8.031 kB / 0.6718 GB, free: 4.688 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003739/0.3917, allocations: 290.5 kB / 0.672 GB, free: 4.395 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.4027, allocations: 1.765 MB / 0.6738 GB, free: 2.625 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003876/0.4066, allocations: 2.193 MB / 0.6759 GB, free: 384 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007097/0.4073, allocations: 0.6663 MB / 0.6765 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006044/0.4079, allocations: 243.9 kB / 0.6768 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005698/0.4136, allocations: 2.682 MB / 0.6794 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/0.4137, allocations: 0 / 0.6794 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002254/0.4139, allocations: 76 kB / 0.6795 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.4139, allocations: 51.98 kB / 0.6795 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005998/0.4199, allocations: 2.842 MB / 0.6823 GB, free: 9.719 MB / 494.1 MB 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.01817/0.4381, allocations: 11.02 MB / 0.6931 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/0.4498, allocations: 4.975 MB / 0.6979 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004113/0.454, allocations: 1.935 MB / 0.6998 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/0.4542, allocations: 45.94 kB / 0.6998 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.4543, allocations: 56.56 kB / 0.6999 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 3.978e-06/0.4543, allocations: 4 kB / 0.6999 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=249): time 0.1287/0.583, allocations: 29.57 MB / 0.7288 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.5831, allocations: 77.41 kB / 0.7289 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005498/0.5886, allocations: 2.906 MB / 0.7317 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00091/0.5896, allocations: 85.64 kB / 0.7318 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.5908, allocations: 1.274 MB / 0.733 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001611/0.5924, allocations: 0.9412 MB / 0.7339 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002656/0.5951, allocations: 0.7446 MB / 0.7347 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.5952, allocations: 309.1 kB / 0.735 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005408/0.6006, allocations: 2.28 MB / 0.7372 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005715/0.6064, allocations: 2.675 MB / 0.7398 GB, free: 13.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.6175, allocations: 4.858 MB / 0.7445 GB, free: 8.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.36e-05/0.6175, allocations: 4 kB / 0.7445 GB, free: 8.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01887/0.6364, allocations: 7.242 MB / 0.7516 GB, free: 1.652 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.6365, allocations: 11.98 kB / 0.7516 GB, free: 1.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.6365, allocations: 4 kB / 0.7516 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01961/0.6561, allocations: 5.726 MB / 0.7572 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003517/0.6597, allocations: 0.6709 MB / 0.7579 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/0.6747, allocations: 5.447 MB / 0.7632 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005055/0.6798, allocations: 0.5283 MB / 0.7637 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007666/0.6805, allocations: 136 kB / 0.7638 GB, free: 5.098 MB / 0.5606 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 (410): * Single equations (assignments): 409 * 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.001856/0.6824, allocations: 0.5246 MB / 0.7644 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001249/0.6837, allocations: 349.7 kB / 0.7647 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3086/0.9923, allocations: 10.52 MB / 0.775 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/0.9923, allocations: 23.38 kB / 0.775 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.9924, allocations: 1.562 kB / 0.775 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.779e-05/0.9924, allocations: 11.02 kB / 0.775 GB, free: 130.9 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 postOpt removeSimpleEquations (simulation): time 0.03703/1.029, allocations: 14.64 MB / 0.7893 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/1.03, allocations: 0 / 0.7893 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/1.031, allocations: 261.1 kB / 0.7895 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01453/1.046, allocations: 4.763 MB / 0.7942 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004858/1.046, allocations: 54.14 kB / 0.7942 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04692/1.093, allocations: 21.49 MB / 0.8152 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.093, allocations: 0 / 0.8152 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0359/1.129, allocations: 12.83 MB / 0.8278 GB, free: 89.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/1.13, allocations: 0.5037 MB / 0.8282 GB, free: 89.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008313/1.131, allocations: 51.88 kB / 0.8283 GB, free: 89.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002912/1.134, allocations: 247.7 kB / 0.8285 GB, free: 89.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001553/1.136, allocations: 0.5179 MB / 0.829 GB, free: 88.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/1.136, allocations: 63.98 kB / 0.8291 GB, free: 88.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002209/1.138, allocations: 1.877 MB / 0.8309 GB, free: 86.69 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.138, allocations: 4 kB / 0.8309 GB, free: 86.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002795/1.141, allocations: 1.123 MB / 0.832 GB, free: 85.59 MB / 0.5606 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 (156): * Single equations (assignments): 155 * 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.03453/1.175, allocations: 13.25 MB / 0.845 GB, free: 72.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01641/1.192, allocations: 6.161 MB / 0.851 GB, free: 66.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.192, allocations: 4 kB / 0.851 GB, free: 66.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0109/1.203, allocations: 3.801 MB / 0.8547 GB, free: 62.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/1.205, allocations: 267.9 kB / 0.855 GB, free: 61.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07963/1.285, allocations: 37.04 MB / 0.8911 GB, free: 24.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009474/1.286, allocations: 1.851 MB / 0.8929 GB, free: 22.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001353/1.287, allocations: 284.9 kB / 0.8932 GB, free: 22.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/1.289, allocations: 1.394 MB / 0.8946 GB, free: 20.86 MB / 0.5606 GB Notification: Performance of SimCode: time 1.353e-06/1.289, allocations: 0 / 0.8946 GB, free: 20.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1412/1.43, allocations: 89.62 MB / 0.9821 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.38/19.81, allocations: 2.344 kB / 0.9821 GB, free: 11.35 MB / 0.6387 GB (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)