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.001378/0.001378, allocations: 108 kB / 15.61 MB, free: 148 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.443/1.443, allocations: 222.9 MB / 239.3 MB, free: 4.598 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.001686/0.001685, allocations: 180.5 kB / 289.6 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4918/0.4918, allocations: 78.53 MB / 418.2 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001999, allocations: 79.88 kB / 497.6 MB, free: 6.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1779, allocations: 68.18 MB / 0.5525 GB, free: 2.156 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.3492/0.5272, allocations: 14.95 MB / 0.5671 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.5376, allocations: 4.61 MB / 0.5716 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003545/0.5411, allocations: 27.12 kB / 0.5716 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.5435, allocations: 0.7703 MB / 0.5724 GB, free: 28.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008088/0.5517, allocations: 2.423 MB / 0.5747 GB, free: 27.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003357/0.555, allocations: 1.333 MB / 0.576 GB, free: 27.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007486/0.5625, allocations: 4.871 MB / 0.5808 GB, free: 26.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.5639, allocations: 0.7972 MB / 0.5816 GB, free: 26.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0029/0.5668, allocations: 1.873 MB / 0.5834 GB, free: 25.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002876/0.5697, allocations: 2.45 MB / 0.5858 GB, free: 24.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007322/0.5704, allocations: 403.6 kB / 0.5862 GB, free: 24.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.572, allocations: 0.6246 MB / 0.5868 GB, free: 23.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000783/0.5728, allocations: 0.9746 MB / 0.5877 GB, free: 23.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002062/0.5748, allocations: 2.012 MB / 0.5897 GB, free: 21.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006951/0.5818, allocations: 5.274 MB / 0.5948 GB, free: 19.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.5818, allocations: 1.734 kB / 0.5948 GB, free: 19.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5818, allocations: 0 / 0.5948 GB, free: 19.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000202/0.582, allocations: 0 / 0.5948 GB, free: 19.66 MB / 430.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.04421/0.6263, allocations: 9.517 MB / 0.6041 GB, free: 16.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/0.6263, allocations: 9.562 kB / 0.6041 GB, free: 16.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001423/0.6278, allocations: 288.9 kB / 0.6044 GB, free: 16.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/0.6404, allocations: 1.751 MB / 0.6061 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007254/0.6477, allocations: 2.178 MB / 0.6083 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001076/0.6488, allocations: 0.6605 MB / 0.6089 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001529/0.6504, allocations: 243.3 kB / 0.6091 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.6607, allocations: 2.684 MB / 0.6118 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.453e-05/0.6608, allocations: 4 kB / 0.6118 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007351/0.6616, allocations: 76.03 kB / 0.6118 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.484e-05/0.6617, allocations: 47.56 kB / 0.6119 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008773/0.6705, allocations: 2.83 MB / 0.6146 GB, free: 12.01 MB / 430.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.02626/0.6967, allocations: 11.06 MB / 0.6254 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.012/0.7088, allocations: 4.975 MB / 0.6303 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004713/0.7135, allocations: 1.932 MB / 0.6322 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003946/0.714, allocations: 45.95 kB / 0.6322 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.183e-05/0.714, allocations: 60.5 kB / 0.6323 GB, free: 12.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 5.12e-06/0.7141, allocations: 3.75 kB / 0.6323 GB, free: 12.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1319/0.846, allocations: 29.55 MB / 0.6611 GB, free: 15.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.568e-05/0.8461, allocations: 77.41 kB / 0.6612 GB, free: 15.17 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00732/0.8535, allocations: 2.902 MB / 0.6641 GB, free: 12.27 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001226/0.8547, allocations: 85.7 kB / 0.6641 GB, free: 12.18 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001756/0.8565, allocations: 1.26 MB / 0.6654 GB, free: 10.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002045/0.8585, allocations: 0.8936 MB / 0.6662 GB, free: 9.996 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0042/0.8628, allocations: 0.756 MB / 0.667 GB, free: 9.227 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.8629, allocations: 301.1 kB / 0.6673 GB, free: 8.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006585/0.8695, allocations: 2.28 MB / 0.6695 GB, free: 6.641 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006778/0.8763, allocations: 2.677 MB / 0.6721 GB, free: 3.871 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/0.8882, allocations: 4.855 MB / 0.6768 GB, free: 14.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.978e-05/0.8883, allocations: 0 / 0.6768 GB, free: 14.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01996/0.9082, allocations: 7.229 MB / 0.6839 GB, free: 7.691 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.9083, allocations: 4.688 kB / 0.6839 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.9083, allocations: 10.25 kB / 0.6839 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02036/0.9287, allocations: 5.741 MB / 0.6895 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003715/0.9325, allocations: 0.6593 MB / 0.6902 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01618/0.9487, allocations: 5.45 MB / 0.6955 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006786/0.9555, allocations: 0.504 MB / 0.696 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/0.9566, allocations: 140.8 kB / 0.6961 GB, free: 11.15 MB / 0.4981 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.002852/0.9595, allocations: 0.5206 MB / 0.6966 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/0.9612, allocations: 331.8 kB / 0.6969 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03766/0.9989, allocations: 10.52 MB / 0.7072 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.132e-05/0.999, allocations: 27.94 kB / 0.7072 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/0.9991, allocations: 5.062 kB / 0.7073 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001079/0.9992, allocations: 15.95 kB / 0.7073 GB, free: 15.64 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 postOpt removeSimpleEquations (simulation): time 0.04988/1.049, allocations: 14.65 MB / 0.7216 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.773e-05/1.049, allocations: 4 kB / 0.7216 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/1.051, allocations: 255.7 kB / 0.7218 GB, free: 464 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01717/1.068, allocations: 4.765 MB / 0.7265 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007431/1.069, allocations: 59.98 kB / 0.7265 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06152/1.13, allocations: 21.48 MB / 0.7475 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.131, allocations: 0 / 0.7475 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04359/1.174, allocations: 12.81 MB / 0.76 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/1.176, allocations: 0.4893 MB / 0.7605 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001681/1.178, allocations: 51.94 kB / 0.7605 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004369/1.182, allocations: 251.7 kB / 0.7608 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00241/1.185, allocations: 0.5223 MB / 0.7613 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005465/1.185, allocations: 63.98 kB / 0.7614 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004066/1.189, allocations: 1.878 MB / 0.7632 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.1e-07/1.189, allocations: 0 / 0.7632 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005447/1.195, allocations: 1.12 MB / 0.7643 GB, free: 4.703 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.3963/1.591, allocations: 13.22 MB / 0.7772 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03564/1.627, allocations: 6.224 MB / 0.7833 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/1.627, allocations: 7.5 kB / 0.7833 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01661/1.644, allocations: 3.789 MB / 0.787 GB, free: 166 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004939/1.649, allocations: 268.2 kB / 0.7872 GB, free: 166 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1141/1.763, allocations: 43.27 MB / 0.8295 GB, free: 144 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002782/1.765, allocations: 1.848 MB / 0.8313 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002437/1.768, allocations: 286.2 kB / 0.8316 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002809/1.771, allocations: 1.394 MB / 0.8329 GB, free: 141 MB / 0.5606 GB Notification: Performance of SimCode: time 1.583e-06/1.771, allocations: 2.062 kB / 0.8329 GB, free: 141 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1476/1.918, allocations: 88.59 MB / 0.9194 GB, free: 55.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/16.14, allocations: 8 kB / 0.9194 GB, free: 55.23 MB / 0.5606 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)