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.006303/0.006304, allocations: 104.8 kB / 15.74 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001955/0.001955, allocations: 192.4 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5836/0.5836, allocations: 78.53 MB / 418.4 MB, free: 3.102 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 75.88 kB / 0.5531 GB, free: 1.457 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4576, 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.01307/0.4707, allocations: 14.96 MB / 0.6343 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.4825, allocations: 4.612 MB / 0.6388 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004128/0.4867, allocations: 28 kB / 0.6388 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003204/0.4899, allocations: 0.7712 MB / 0.6396 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009669/0.4997, allocations: 2.416 MB / 0.642 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004077/0.5038, allocations: 1.335 MB / 0.6433 GB, free: 1.961 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01018/0.514, allocations: 4.899 MB / 0.6481 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.5162, allocations: 0.793 MB / 0.6488 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004968/0.5212, allocations: 1.879 MB / 0.6507 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004967/0.5262, allocations: 2.451 MB / 0.6531 GB, free: 7.867 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002392/0.5286, allocations: 407.9 kB / 0.6534 GB, free: 7.469 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.5319, allocations: 0.6326 MB / 0.6541 GB, free: 6.836 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00212/0.534, allocations: 0.9728 MB / 0.655 GB, free: 5.859 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003685/0.5377, allocations: 2.013 MB / 0.657 GB, free: 3.836 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008058/0.5458, allocations: 5.342 MB / 0.6622 GB, free: 14.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.5458, allocations: 0 / 0.6622 GB, free: 14.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.5458, allocations: 4 kB / 0.6622 GB, free: 14.47 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000165/0.546, allocations: 0 / 0.6622 GB, free: 14.47 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.04302/0.589, allocations: 9.631 MB / 0.6716 GB, free: 4.766 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.117e-05/0.5892, allocations: 16.03 kB / 0.6716 GB, free: 4.75 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007736/0.5899, allocations: 282.5 kB / 0.6719 GB, free: 4.465 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.6019, allocations: 1.773 MB / 0.6736 GB, free: 2.688 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005565/0.6075, allocations: 2.197 MB / 0.6758 GB, free: 444 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009522/0.6085, allocations: 0.6624 MB / 0.6764 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007074/0.6092, allocations: 247.9 kB / 0.6766 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00641/0.6156, allocations: 2.682 MB / 0.6793 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/0.6157, allocations: 0 / 0.6793 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002359/0.6159, allocations: 76 kB / 0.6793 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.616, allocations: 44 kB / 0.6794 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006735/0.6227, allocations: 2.838 MB / 0.6822 GB, free: 9.789 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.02462/0.6474, allocations: 11.02 MB / 0.6929 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01323/0.6607, allocations: 4.986 MB / 0.6978 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004929/0.6656, allocations: 1.935 MB / 0.6997 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003585/0.666, allocations: 45.88 kB / 0.6997 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/0.6661, allocations: 56.56 kB / 0.6998 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 5.421e-06/0.6661, allocations: 0 / 0.6998 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=249): time 0.1377/0.8038, allocations: 29.57 MB / 0.7286 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/0.8039, allocations: 77.41 kB / 0.7287 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005687/0.8096, allocations: 2.906 MB / 0.7316 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001071/0.8107, allocations: 85.7 kB / 0.7316 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.8121, allocations: 1.27 MB / 0.7329 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001817/0.8139, allocations: 0.945 MB / 0.7338 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001723/0.8156, allocations: 0.7524 MB / 0.7345 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.8158, allocations: 301.1 kB / 0.7348 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005546/0.8214, allocations: 2.28 MB / 0.737 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00579/0.8272, allocations: 2.673 MB / 0.7397 GB, free: 13.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.8384, allocations: 4.855 MB / 0.7444 GB, free: 8.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.8384, allocations: 4 kB / 0.7444 GB, free: 8.977 MB / 0.545 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.02031/0.8587, allocations: 7.246 MB / 0.7515 GB, free: 1.719 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.8588, allocations: 8 kB / 0.7515 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.8589, allocations: 8.031 kB / 0.7515 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02203/0.8809, allocations: 5.729 MB / 0.7571 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004168/0.8851, allocations: 0.6709 MB / 0.7577 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0178/0.903, allocations: 5.455 MB / 0.7631 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006152/0.9092, allocations: 0.5128 MB / 0.7636 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/0.9102, allocations: 143.9 kB / 0.7637 GB, free: 5.16 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.002528/0.9128, allocations: 0.5207 MB / 0.7642 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/0.9143, allocations: 353.6 kB / 0.7646 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4747/1.389, allocations: 10.52 MB / 0.7748 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.119e-05/1.389, allocations: 23.56 kB / 0.7749 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/1.389, allocations: 3.906 kB / 0.7749 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.703e-05/1.389, allocations: 13.78 kB / 0.7749 GB, free: 130.8 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.04214/1.431, allocations: 14.63 MB / 0.7892 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-05/1.431, allocations: 0 / 0.7892 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/1.433, allocations: 264.9 kB / 0.7894 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01583/1.449, allocations: 4.761 MB / 0.7941 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007567/1.45, allocations: 53.92 kB / 0.7941 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05034/1.5, allocations: 21.49 MB / 0.8151 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/1.5, allocations: 3.938 kB / 0.8151 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03881/1.539, allocations: 12.83 MB / 0.8276 GB, free: 89.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/1.541, allocations: 0.5054 MB / 0.8281 GB, free: 89.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008443/1.542, allocations: 44 kB / 0.8282 GB, free: 89.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003054/1.545, allocations: 247.7 kB / 0.8284 GB, free: 89.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001939/1.547, allocations: 0.5218 MB / 0.8289 GB, free: 88.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/1.547, allocations: 63.98 kB / 0.829 GB, free: 88.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002427/1.549, allocations: 1.877 MB / 0.8308 GB, free: 86.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/1.549, allocations: 4 kB / 0.8308 GB, free: 86.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003467/1.553, allocations: 1.122 MB / 0.8319 GB, free: 85.58 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.03708/1.59, allocations: 13.25 MB / 0.8448 GB, free: 72.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01678/1.607, allocations: 6.162 MB / 0.8509 GB, free: 66.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.607, allocations: 0 / 0.8509 GB, free: 66.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01089/1.618, allocations: 3.8 MB / 0.8546 GB, free: 62.24 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/1.62, allocations: 275.9 kB / 0.8548 GB, free: 61.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07366/1.694, allocations: 37.04 MB / 0.891 GB, free: 24.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/1.695, allocations: 1.851 MB / 0.8928 GB, free: 22.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00183/1.697, allocations: 288.9 kB / 0.8931 GB, free: 22.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001957/1.699, allocations: 1.397 MB / 0.8944 GB, free: 20.84 MB / 0.5606 GB Notification: Performance of SimCode: time 1.964e-06/1.699, allocations: 0 / 0.8944 GB, free: 20.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1747/1.874, allocations: 89.61 MB / 0.982 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.96/21.83, allocations: 4.062 kB / 0.982 GB, free: 11.34 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)