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.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005238/0.005238, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.381/1.381, allocations: 222.9 MB / 239.4 MB, free: 4.492 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.001516/0.001516, allocations: 184.5 kB / 289.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5126/0.5126, allocations: 91.9 MB / 431.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 80.2 kB / 0.5722 GB, free: 33.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1167, allocations: 71.29 MB / 0.6418 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01346/0.1302, allocations: 14.98 MB / 0.6565 GB, free: 5.047 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009102/0.1394, allocations: 4.596 MB / 0.661 GB, free: 448 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002706/0.1421, allocations: 32 kB / 0.661 GB, free: 416 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002622/0.1448, allocations: 0.7754 MB / 0.6618 GB, free: 15.62 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006617/0.1514, allocations: 2.033 MB / 0.6637 GB, free: 13.59 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003629/0.1551, allocations: 1.427 MB / 0.6651 GB, free: 12.18 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006676/0.1618, allocations: 4.524 MB / 0.6696 GB, free: 7.637 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.1635, allocations: 0.7996 MB / 0.6703 GB, free: 6.797 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.1666, allocations: 1.801 MB / 0.6721 GB, free: 4.988 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003506/0.1701, allocations: 2.377 MB / 0.6744 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001504/0.1717, allocations: 407.9 kB / 0.6748 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.1738, allocations: 0.6404 MB / 0.6754 GB, free: 1.562 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001478/0.1753, allocations: 0.9416 MB / 0.6763 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003745/0.1791, allocations: 1.981 MB / 0.6783 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00818/0.1873, allocations: 5.28 MB / 0.6834 GB, free: 9.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1873, allocations: 4 kB / 0.6834 GB, free: 9.316 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1873, allocations: 0 / 0.6834 GB, free: 9.316 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001579/0.1875, allocations: 0 / 0.6834 GB, free: 9.316 MB / 494.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.03459/0.2221, allocations: 8.279 MB / 0.6915 GB, free: 0.957 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.2222, allocations: 8.031 kB / 0.6915 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00092/0.2231, allocations: 278.5 kB / 0.6918 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/0.2353, allocations: 1.769 MB / 0.6935 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005351/0.2407, allocations: 2.201 MB / 0.6957 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009285/0.2416, allocations: 0.6663 MB / 0.6963 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/0.2428, allocations: 243.9 kB / 0.6966 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007702/0.2505, allocations: 2.685 MB / 0.6992 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-05/0.2506, allocations: 0 / 0.6992 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004072/0.2511, allocations: 76 kB / 0.6993 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.945e-05/0.2511, allocations: 52 kB / 0.6993 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00674/0.2579, allocations: 2.83 MB / 0.7021 GB, free: 5.988 MB / 0.4981 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.02217/0.2801, allocations: 11.02 MB / 0.7128 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01324/0.2933, allocations: 4.975 MB / 0.7177 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004579/0.2979, allocations: 1.927 MB / 0.7196 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003664/0.2983, allocations: 45.95 kB / 0.7196 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.2984, allocations: 64.55 kB / 0.7197 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 6.111e-06/0.2984, allocations: 0 / 0.7197 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.1353/0.4337, allocations: 29.57 MB / 0.7486 GB, free: 5.562 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.587e-05/0.4338, allocations: 77.41 kB / 0.7486 GB, free: 5.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006248/0.4401, allocations: 2.902 MB / 0.7515 GB, free: 2.574 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009405/0.4411, allocations: 85.7 kB / 0.7515 GB, free: 2.484 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001678/0.4427, allocations: 1.27 MB / 0.7528 GB, free: 1.203 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001846/0.4446, allocations: 0.945 MB / 0.7537 GB, free: 256 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003343/0.448, allocations: 0.7524 MB / 0.7544 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4481, allocations: 301.1 kB / 0.7547 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006169/0.4543, allocations: 2.28 MB / 0.757 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006882/0.4612, allocations: 2.677 MB / 0.7596 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01292/0.4741, allocations: 4.851 MB / 0.7643 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.376e-05/0.4742, allocations: 0 / 0.7643 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.3212/0.7955, allocations: 7.236 MB / 0.7714 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.7955, allocations: 9.562 kB / 0.7714 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.7956, allocations: 5.688 kB / 0.7714 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02085/0.8164, allocations: 5.736 MB / 0.777 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003665/0.8201, allocations: 0.6655 MB / 0.7776 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/0.8338, allocations: 5.451 MB / 0.783 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00476/0.8386, allocations: 0.5163 MB / 0.7835 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004864/0.8391, allocations: 141.5 kB / 0.7836 GB, free: 107.4 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.001123/0.8402, allocations: 0.5228 MB / 0.7841 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000653/0.8409, allocations: 348 kB / 0.7844 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0332/0.8741, allocations: 10.52 MB / 0.7947 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.753e-05/0.8742, allocations: 35.31 kB / 0.7948 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.8742, allocations: 0 / 0.7948 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-05/0.8743, allocations: 11.48 kB / 0.7948 GB, free: 104.6 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.03745/0.9117, allocations: 14.63 MB / 0.8091 GB, free: 93.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.251e-05/0.9118, allocations: 0 / 0.8091 GB, free: 93.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/0.9134, allocations: 255.6 kB / 0.8093 GB, free: 92.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01535/0.9287, allocations: 4.769 MB / 0.814 GB, free: 88.08 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005474/0.9293, allocations: 48 kB / 0.814 GB, free: 88.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04892/0.9782, allocations: 21.48 MB / 0.835 GB, free: 66.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.9783, allocations: 7.984 kB / 0.835 GB, free: 66.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03688/1.015, allocations: 12.83 MB / 0.8475 GB, free: 53.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/1.016, allocations: 0.512 MB / 0.848 GB, free: 53.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007317/1.017, allocations: 44 kB / 0.8481 GB, free: 53.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00291/1.02, allocations: 247.7 kB / 0.8483 GB, free: 52.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001585/1.022, allocations: 0.5292 MB / 0.8488 GB, free: 52.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000174/1.022, allocations: 63.28 kB / 0.8489 GB, free: 52.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002253/1.024, allocations: 1.877 MB / 0.8507 GB, free: 50.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/1.024, allocations: 0 / 0.8507 GB, free: 50.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002985/1.027, allocations: 1.124 MB / 0.8518 GB, free: 49.24 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.03598/1.063, allocations: 13.25 MB / 0.8647 GB, free: 35.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01613/1.079, allocations: 6.161 MB / 0.8708 GB, free: 29.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.079, allocations: 0 / 0.8708 GB, free: 29.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01072/1.09, allocations: 3.806 MB / 0.8745 GB, free: 25.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/1.093, allocations: 260.3 kB / 0.8747 GB, free: 25.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07665/1.169, allocations: 37.05 MB / 0.9109 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/1.171, allocations: 1.841 MB / 0.9127 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001549/1.172, allocations: 292.9 kB / 0.913 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002337/1.175, allocations: 1.394 MB / 0.9143 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/1.175, allocations: 0 / 0.9143 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1534/1.328, allocations: 89.64 MB / 1.002 GB, free: 7.043 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.72/20.05, allocations: 1.406 kB / 1.002 GB, free: 7.043 MB / 0.67 GB (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)