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.004723/0.004723, allocations: 172.6 kB / 15.12 MB, free: 6.023 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.358/1.358, allocations: 223.2 MB / 239 MB, free: 1.785 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.0009732/0.000973, allocations: 100.4 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4627/0.4627, allocations: 78.59 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 12 kB / 499.8 MB, free: 2.84 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3853, allocations: 69.34 MB / 0.5558 GB, free: 38.8 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01199/0.3973, allocations: 13.18 MB / 0.5687 GB, free: 32.18 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.4085, allocations: 4.609 MB / 0.5732 GB, free: 28.85 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004799/0.4133, allocations: 31.94 kB / 0.5732 GB, free: 28.85 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00257/0.4159, allocations: 0.5422 MB / 0.5738 GB, free: 28.62 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008442/0.4244, allocations: 2.177 MB / 0.5759 GB, free: 27.2 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003222/0.4276, allocations: 1.087 MB / 0.577 GB, free: 26.66 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.007909/0.4355, allocations: 3.049 MB / 0.5799 GB, free: 25.04 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.437, allocations: 0.6627 MB / 0.5806 GB, free: 24.74 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002774/0.4398, allocations: 1.545 MB / 0.5821 GB, free: 24.04 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003404/0.4432, allocations: 2.1 MB / 0.5842 GB, free: 23.13 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009617/0.4442, allocations: 186.6 kB / 0.5843 GB, free: 23.13 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.4457, allocations: 378.8 kB / 0.5847 GB, free: 23.07 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004949/0.4462, allocations: 0.7264 MB / 0.5854 GB, free: 22.65 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008194/0.447, allocations: 0.6031 MB / 0.586 GB, free: 22.28 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003519/0.4505, allocations: 3.952 MB / 0.5898 GB, free: 21.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4506, allocations: 0 / 0.5898 GB, free: 21.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4506, allocations: 3.938 kB / 0.5899 GB, free: 21.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001397/0.4507, allocations: 0 / 0.5899 GB, free: 21.22 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.03593/0.4867, allocations: 9.116 MB / 0.5988 GB, free: 18.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.4867, allocations: 14.59 kB / 0.5988 GB, free: 18.55 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001405/0.4881, allocations: 282.1 kB / 0.599 GB, free: 18.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/0.5005, allocations: 1.771 MB / 0.6008 GB, free: 18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007997/0.5085, allocations: 2.061 MB / 0.6028 GB, free: 16.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001072/0.5097, allocations: 0.6926 MB / 0.6035 GB, free: 16.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001477/0.5112, allocations: 235.2 kB / 0.6037 GB, free: 16.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.5214, allocations: 2.84 MB / 0.6065 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.915e-05/0.5215, allocations: 3.984 kB / 0.6065 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007275/0.5223, allocations: 80.27 kB / 0.6065 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.925e-05/0.5223, allocations: 46.62 kB / 0.6066 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009043/0.5314, allocations: 3.012 MB / 0.6095 GB, free: 14.08 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.03117/0.5626, allocations: 11.71 MB / 0.621 GB, free: 5.641 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01454/0.5772, allocations: 5.666 MB / 0.6265 GB, free: 1.156 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005425/0.5778, allocations: 45.95 kB / 0.6265 GB, free: 1.113 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.5778, allocations: 60.56 kB / 0.6266 GB, free: 1.047 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 6.061e-06/0.5778, allocations: 0 / 0.6266 GB, free: 1.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=249): time 0.1496/0.7274, allocations: 35.51 MB / 0.6613 GB, free: 13.46 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.7276, allocations: 77.41 kB / 0.6613 GB, free: 13.37 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005285/0.7329, allocations: 2.878 MB / 0.6642 GB, free: 10.49 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007612/0.7336, allocations: 81.7 kB / 0.6642 GB, free: 10.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.7349, allocations: 1.26 MB / 0.6655 GB, free: 9.133 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001511/0.7365, allocations: 0.8974 MB / 0.6663 GB, free: 8.223 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006574/0.7371, allocations: 84 kB / 0.6664 GB, free: 8.141 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002822/0.7374, allocations: 466.9 kB / 0.6669 GB, free: 7.676 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005815/0.7432, allocations: 2.445 MB / 0.6693 GB, free: 5.223 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006064/0.7493, allocations: 2.827 MB / 0.672 GB, free: 2.305 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00606/0.7554, allocations: 2.636 MB / 0.6746 GB, free: 15.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.7555, allocations: 3.953 kB / 0.6746 GB, free: 15.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01908/0.7745, allocations: 7.697 MB / 0.6821 GB, free: 7.953 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.7746, allocations: 8.625 kB / 0.6821 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.7746, allocations: 4 kB / 0.6821 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02095/0.7956, allocations: 6.499 MB / 0.6885 GB, free: 1.441 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003534/0.7992, allocations: 0.6632 MB / 0.6891 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/0.8147, allocations: 6.146 MB / 0.6951 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005817/0.8205, allocations: 0.5938 MB / 0.6957 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009697/0.8215, allocations: 139.9 kB / 0.6958 GB, free: 9.863 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {62 60} Notification: Performance of prepare postOptimizeDAE: time 0.00228/0.8238, allocations: 0.5207 MB / 0.6963 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001395/0.8252, allocations: 335.7 kB / 0.6967 GB, free: 9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03943/0.8647, allocations: 12.84 MB / 0.7092 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.844e-05/0.8648, allocations: 32 kB / 0.7092 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.8648, allocations: 3.938 kB / 0.7092 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001088/0.8649, allocations: 15.89 kB / 0.7092 GB, free: 12.03 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.04485/0.9097, allocations: 16.98 MB / 0.7258 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/0.9098, allocations: 0 / 0.7258 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/0.9115, allocations: 255.7 kB / 0.7261 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01766/0.9292, allocations: 5.577 MB / 0.7315 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006118/0.9298, allocations: 51.98 kB / 0.7316 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06087/0.9907, allocations: 23.24 MB / 0.7543 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.9907, allocations: 0 / 0.7543 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3852/1.376, allocations: 15.31 MB / 0.7692 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/1.378, allocations: 0.4903 MB / 0.7697 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000991/1.379, allocations: 47.81 kB / 0.7697 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003474/1.382, allocations: 338.8 kB / 0.7701 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001805/1.384, allocations: 0.5149 MB / 0.7706 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002071/1.384, allocations: 68.94 kB / 0.7706 GB, free: 163.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003078/1.387, allocations: 1.849 MB / 0.7724 GB, free: 163.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.51e-07/1.387, allocations: 0 / 0.7724 GB, free: 163.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004367/1.392, allocations: 1.124 MB / 0.7735 GB, free: 163.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0423/1.434, allocations: 15.68 MB / 0.7888 GB, free: 161.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0306/1.465, allocations: 6.813 MB / 0.7955 GB, free: 160.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.465, allocations: 0 / 0.7955 GB, free: 160.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02026/1.485, allocations: 4.273 MB / 0.7997 GB, free: 158.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/1.488, allocations: 226.2 kB / 0.7999 GB, free: 158.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02306/1.511, allocations: 12.13 MB / 0.8117 GB, free: 149.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002262/1.513, allocations: 1.907 MB / 0.8136 GB, free: 149.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002103/1.515, allocations: 291.8 kB / 0.8139 GB, free: 149 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002524/1.518, allocations: 1.381 MB / 0.8152 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of SimCode: time 7.11e-07/1.518, allocations: 0 / 0.8152 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1183/1.636, allocations: 78.31 MB / 0.8917 GB, free: 82.28 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/1.637, allocations: 202.9 kB / 0.8919 GB, free: 82.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.921/6.558, allocations: 0 / 0.8919 GB, free: 82.04 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)