Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 180 kB / 15.45 MB, free: 6.234 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.3 MB / 239.5 MB, free: 1.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007519/0.0007519, allocations: 90.48 kB / 290.6 MB, free: 13.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4813/0.4813, allocations: 78.61 MB / 420.4 MB, free: 44.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.000372, allocations: 16 kB / 0.4889 GB, free: 2.457 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3805, allocations: 69.34 MB / 0.5566 GB, free: 38.88 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.0124/0.3929, allocations: 15.06 MB / 0.5713 GB, free: 30 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.403, allocations: 4.678 MB / 0.5759 GB, free: 27.13 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00404/0.4071, allocations: 30.66 kB / 0.5759 GB, free: 27.13 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002748/0.4099, allocations: 0.6239 MB / 0.5765 GB, free: 26.88 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008106/0.418, allocations: 2.174 MB / 0.5786 GB, free: 25.46 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.4213, allocations: 1.237 MB / 0.5798 GB, free: 24.78 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006473/0.4277, allocations: 4.608 MB / 0.5843 GB, free: 22.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.4291, allocations: 0.705 MB / 0.585 GB, free: 22.23 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/0.4315, allocations: 1.611 MB / 0.5866 GB, free: 21.51 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002658/0.4342, allocations: 2.192 MB / 0.5887 GB, free: 20.53 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007298/0.4349, allocations: 184.6 kB / 0.5889 GB, free: 20.53 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.4364, allocations: 413.1 kB / 0.5893 GB, free: 20.46 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000538/0.4369, allocations: 0.7431 MB / 0.59 GB, free: 20.02 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.4383, allocations: 1.792 MB / 0.5918 GB, free: 18.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003897/0.4422, allocations: 5.004 MB / 0.5967 GB, free: 17.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4423, allocations: 4 kB / 0.5967 GB, free: 17.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.4423, allocations: 0 / 0.5967 GB, free: 17.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001142/0.4424, allocations: 0 / 0.5967 GB, free: 17.14 MB / 426.7 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.0332/0.4756, allocations: 9.076 MB / 0.6055 GB, free: 14.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4757, allocations: 9.031 kB / 0.6055 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008435/0.4765, allocations: 283 kB / 0.6058 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.4878, allocations: 1.768 MB / 0.6075 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004483/0.4923, allocations: 2.173 MB / 0.6097 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000666/0.493, allocations: 0.6932 MB / 0.6103 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006061/0.4936, allocations: 239.3 kB / 0.6106 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006207/0.4998, allocations: 2.866 MB / 0.6134 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/0.4999, allocations: 1 kB / 0.6134 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.5001, allocations: 79.31 kB / 0.6134 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.5002, allocations: 47.03 kB / 0.6135 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006772/0.5069, allocations: 3.029 MB / 0.6164 GB, free: 9.898 MB / 426.7 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.02157/0.5286, allocations: 11.2 MB / 0.6274 GB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01247/0.5411, allocations: 5.678 MB / 0.6329 GB, free: 11.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004839/0.5459, allocations: 2.111 MB / 0.635 GB, free: 9.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004477/0.5464, allocations: 45.95 kB / 0.635 GB, free: 9.047 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.007e-05/0.5465, allocations: 56.56 kB / 0.6351 GB, free: 8.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 5.019e-06/0.5465, allocations: 4 kB / 0.6351 GB, free: 8.977 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1318/0.6783, allocations: 35.73 MB / 0.67 GB, free: 5.176 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.6784, allocations: 77.41 kB / 0.6701 GB, free: 5.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004991/0.6834, allocations: 2.898 MB / 0.6729 GB, free: 2.191 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001054/0.6845, allocations: 85.7 kB / 0.673 GB, free: 2.102 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.6857, allocations: 1.26 MB / 0.6742 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00146/0.6872, allocations: 0.9013 MB / 0.6751 GB, free: 15.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005936/0.6878, allocations: 390.6 kB / 0.6754 GB, free: 15.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.6879, allocations: 301.1 kB / 0.6757 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005411/0.6933, allocations: 2.464 MB / 0.6781 GB, free: 12.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006005/0.6993, allocations: 2.867 MB / 0.6809 GB, free: 9.797 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/0.7118, allocations: 5.214 MB / 0.686 GB, free: 4.504 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-05/0.7119, allocations: 0 / 0.686 GB, free: 4.504 MB / 490.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01987/0.7318, allocations: 7.759 MB / 0.6936 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.7319, allocations: 13.39 kB / 0.6936 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.7319, allocations: 7.938 kB / 0.6936 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02027/0.7522, allocations: 6.566 MB / 0.7 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004351/0.7565, allocations: 0.6671 MB / 0.7007 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/0.7722, allocations: 6.157 MB / 0.7067 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005808/0.778, allocations: 0.5938 MB / 0.7073 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007318/0.7788, allocations: 136 kB / 0.7074 GB, free: 14.55 MB / 0.5105 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.001666/0.7805, allocations: 0.5284 MB / 0.7079 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/0.7815, allocations: 339.7 kB / 0.7083 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03607/0.8176, allocations: 12.86 MB / 0.7208 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/0.8177, allocations: 31.94 kB / 0.7208 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.8177, allocations: 4 kB / 0.7208 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.797e-05/0.8178, allocations: 11.95 kB / 0.7209 GB, free: 0.6953 MB / 0.5105 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.04613/0.8639, allocations: 17 MB / 0.7375 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.189e-05/0.864, allocations: 0 / 0.7375 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.8658, allocations: 259.6 kB / 0.7377 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01683/0.8826, allocations: 5.577 MB / 0.7432 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008578/0.8835, allocations: 55.94 kB / 0.7432 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05266/0.9362, allocations: 22.03 MB / 0.7647 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.9363, allocations: 0 / 0.7647 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3514/1.288, allocations: 15.34 MB / 0.7797 GB, free: 167.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/1.29, allocations: 0.4972 MB / 0.7802 GB, free: 167.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001255/1.291, allocations: 42.84 kB / 0.7802 GB, free: 167.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003708/1.295, allocations: 345.6 kB / 0.7806 GB, free: 167.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002099/1.297, allocations: 0.508 MB / 0.781 GB, free: 167.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/1.297, allocations: 63.09 kB / 0.7811 GB, free: 167.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003444/1.301, allocations: 1.876 MB / 0.7829 GB, free: 167.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.301, allocations: 0 / 0.7829 GB, free: 167.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004808/1.305, allocations: 1.122 MB / 0.784 GB, free: 167.2 MB / 0.5573 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.04313/1.349, allocations: 15.72 MB / 0.7994 GB, free: 164.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02006/1.369, allocations: 6.831 MB / 0.8061 GB, free: 162.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.369, allocations: 0 / 0.8061 GB, free: 162.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01143/1.38, allocations: 4.279 MB / 0.8102 GB, free: 160.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/1.383, allocations: 267.6 kB / 0.8105 GB, free: 160.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0875/1.471, allocations: 46.84 MB / 0.8562 GB, free: 116 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/1.472, allocations: 1.845 MB / 0.858 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001661/1.474, allocations: 292.8 kB / 0.8583 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/1.475, allocations: 1.378 MB / 0.8597 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of SimCode: time 9.32e-07/1.475, allocations: 2.406 kB / 0.8597 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1204/1.596, allocations: 81.05 MB / 0.9388 GB, free: 31.61 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/1.596, allocations: 215.9 kB / 0.939 GB, free: 31.36 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.469/7.065, allocations: 4.062 kB / 0.939 GB, free: 31.36 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)