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.008029/0.008029, allocations: 163.6 kB / 15.13 MB, free: 5.594 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.315/1.315, allocations: 223.3 MB / 239.1 MB, free: 1.715 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.0007803/0.0007802, allocations: 95.48 kB / 290.3 MB, free: 13.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4404/0.4404, allocations: 78.62 MB / 420 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003456, allocations: 16 kB / 500 MB, free: 2.816 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3421, allocations: 69.35 MB / 0.556 GB, free: 38.82 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.0112/0.3534, allocations: 13.99 MB / 0.5696 GB, free: 31.59 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009239/0.3627, allocations: 4.47 MB / 0.574 GB, free: 28.35 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.3655, allocations: 32.72 kB / 0.574 GB, free: 28.35 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.3672, allocations: 0.5395 MB / 0.5746 GB, free: 28.11 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005886/0.3731, allocations: 2.02 MB / 0.5765 GB, free: 26.83 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.3756, allocations: 1.089 MB / 0.5776 GB, free: 26.28 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006182/0.3818, allocations: 4.345 MB / 0.5818 GB, free: 24.13 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.3831, allocations: 0.6595 MB / 0.5825 GB, free: 23.83 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002813/0.386, allocations: 1.556 MB / 0.584 GB, free: 23.15 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002504/0.3885, allocations: 2.132 MB / 0.5861 GB, free: 22.24 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004876/0.389, allocations: 186.9 kB / 0.5863 GB, free: 22.24 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009761/0.39, allocations: 398.9 kB / 0.5866 GB, free: 22.17 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004334/0.3904, allocations: 0.7321 MB / 0.5874 GB, free: 21.75 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007077/0.3911, allocations: 0.6004 MB / 0.588 GB, free: 21.37 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.3938, allocations: 4.062 MB / 0.5919 GB, free: 20.28 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3938, allocations: 4 kB / 0.5919 GB, free: 20.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3938, allocations: 2.594 kB / 0.5919 GB, free: 20.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.84e-05/0.3939, allocations: 0 / 0.5919 GB, free: 20.28 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.03305/0.427, allocations: 9.122 MB / 0.6008 GB, free: 17.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.427, allocations: 9.625 kB / 0.6008 GB, free: 17.6 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007556/0.4278, allocations: 290.1 kB / 0.6011 GB, free: 17.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.4383, allocations: 1.767 MB / 0.6028 GB, free: 17.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004106/0.4424, allocations: 2.051 MB / 0.6048 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006558/0.4431, allocations: 0.7025 MB / 0.6055 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004768/0.4436, allocations: 242.7 kB / 0.6058 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00582/0.4494, allocations: 2.846 MB / 0.6085 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/0.4495, allocations: 0 / 0.6085 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/0.4497, allocations: 75.53 kB / 0.6086 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.4497, allocations: 46.75 kB / 0.6087 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006057/0.4558, allocations: 3.021 MB / 0.6116 GB, free: 13.13 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.01733/0.4731, allocations: 11.19 MB / 0.6225 GB, free: 5.008 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/0.4845, allocations: 5.661 MB / 0.6281 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004024/0.4885, allocations: 2.095 MB / 0.6301 GB, free: 13.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.4888, allocations: 45.95 kB / 0.6302 GB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.4888, allocations: 60.52 kB / 0.6302 GB, free: 13.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 3.868e-06/0.4888, allocations: 4 kB / 0.6302 GB, free: 13.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1304/0.6192, allocations: 35.42 MB / 0.6648 GB, free: 10 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.6193, allocations: 77.41 kB / 0.6649 GB, free: 9.918 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005047/0.6244, allocations: 2.878 MB / 0.6677 GB, free: 7.039 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008426/0.6252, allocations: 89.64 kB / 0.6678 GB, free: 6.945 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.6263, allocations: 1.256 MB / 0.669 GB, free: 5.676 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001364/0.6277, allocations: 0.9013 MB / 0.6699 GB, free: 4.762 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/0.628, allocations: 84 kB / 0.67 GB, free: 4.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002321/0.6282, allocations: 462.9 kB / 0.6704 GB, free: 4.219 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005104/0.6333, allocations: 2.445 MB / 0.6728 GB, free: 1.766 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005357/0.6387, allocations: 2.85 MB / 0.6756 GB, free: 14.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005308/0.644, allocations: 2.636 MB / 0.6781 GB, free: 12.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.644, allocations: 0 / 0.6781 GB, free: 12.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01596/0.66, allocations: 7.694 MB / 0.6857 GB, free: 4.484 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.6601, allocations: 4.062 kB / 0.6857 GB, free: 4.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.6601, allocations: 12 kB / 0.6857 GB, free: 4.469 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02054/0.6807, allocations: 6.499 MB / 0.692 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003543/0.6843, allocations: 0.6748 MB / 0.6927 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/0.7001, allocations: 6.138 MB / 0.6987 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00548/0.7057, allocations: 0.6017 MB / 0.6993 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007469/0.7064, allocations: 132 kB / 0.6994 GB, free: 6.387 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.001958/0.7084, allocations: 0.5168 MB / 0.6999 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/0.7096, allocations: 347.6 kB / 0.7002 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03816/0.7478, allocations: 12.85 MB / 0.7128 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.053e-05/0.7479, allocations: 24 kB / 0.7128 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.7479, allocations: 4 kB / 0.7128 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.713e-05/0.748, allocations: 11.95 kB / 0.7128 GB, free: 8.547 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.04923/0.7972, allocations: 16.98 MB / 0.7294 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/0.7973, allocations: 0 / 0.7294 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/0.799, allocations: 259.6 kB / 0.7296 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01752/0.8166, allocations: 5.573 MB / 0.7351 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006553/0.8173, allocations: 59.98 kB / 0.7351 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05607/0.8734, allocations: 22 MB / 0.7566 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.8734, allocations: 3.953 kB / 0.7566 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2646/1.138, allocations: 15.3 MB / 0.7716 GB, free: 163.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.139, allocations: 0.5023 MB / 0.7721 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004706/1.14, allocations: 43.89 kB / 0.7721 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00284/1.143, allocations: 338.8 kB / 0.7724 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001702/1.144, allocations: 0.5188 MB / 0.7729 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/1.144, allocations: 64.25 kB / 0.773 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00264/1.147, allocations: 1.851 MB / 0.7748 GB, free: 163.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.2e-07/1.147, allocations: 0 / 0.7748 GB, free: 163.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00283/1.15, allocations: 1.119 MB / 0.7759 GB, free: 163.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 (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.03855/1.189, allocations: 15.7 MB / 0.7912 GB, free: 161 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01825/1.207, allocations: 6.808 MB / 0.7979 GB, free: 159.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.207, allocations: 0 / 0.7979 GB, free: 159.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01242/1.219, allocations: 4.264 MB / 0.802 GB, free: 157.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003246/1.223, allocations: 270.4 kB / 0.8023 GB, free: 157.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05744/1.28, allocations: 29.99 MB / 0.8316 GB, free: 137.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/1.281, allocations: 1.846 MB / 0.8334 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001699/1.283, allocations: 291.5 kB / 0.8337 GB, free: 135.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/1.285, allocations: 1.382 MB / 0.835 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.372e-06/1.285, allocations: 0 / 0.835 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/1.388, allocations: 81.27 MB / 0.9144 GB, free: 57.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/1.389, allocations: 204.4 kB / 0.9146 GB, free: 57.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.14/6.529, allocations: 0 / 0.9146 GB, free: 57.21 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)