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.001572/0.001571, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.49/1.49, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000994/0.0009942, allocations: 92.52 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4917/0.4917, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.104e-05, allocations: 4 kB / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3621, allocations: 69.35 MB / 0.5481 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.4965, allocations: 103.9 MB / 0.6496 GB, free: 12.59 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.4968, allocations: 75.97 kB / 0.6497 GB, free: 12.52 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6025/1.099, allocations: 95.92 MB / 0.7433 GB, free: 64.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.984e-06/1.099, allocations: 0 / 0.7433 GB, free: 64.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003648/1.1, allocations: 52 kB / 0.7434 GB, free: 64.68 MB / 490.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.01747/1.117, allocations: 3.941 MB / 0.7472 GB, free: 60.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/1.117, allocations: 11.97 kB / 0.7472 GB, free: 60.67 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001099/1.118, allocations: 283.9 kB / 0.7475 GB, free: 60.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/1.131, allocations: 1.279 MB / 0.7488 GB, free: 59.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006366/1.137, allocations: 1.838 MB / 0.7506 GB, free: 57.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001052/1.138, allocations: 0.6575 MB / 0.7512 GB, free: 56.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/1.139, allocations: 199.9 kB / 0.7514 GB, free: 56.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007784/1.147, allocations: 2.233 MB / 0.7536 GB, free: 54.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.1e-05/1.147, allocations: 0 / 0.7536 GB, free: 54.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004762/1.148, allocations: 79.94 kB / 0.7536 GB, free: 53.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/1.148, allocations: 44 kB / 0.7537 GB, free: 53.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00657/1.154, allocations: 2.312 MB / 0.7559 GB, free: 51.59 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.02875/1.183, allocations: 10.64 MB / 0.7663 GB, free: 40.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01393/1.197, allocations: 4.85 MB / 0.7711 GB, free: 35.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003602/1.201, allocations: 1.502 MB / 0.7725 GB, free: 33.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005129/1.201, allocations: 49.94 kB / 0.7726 GB, free: 33.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/1.201, allocations: 60.5 kB / 0.7726 GB, free: 33.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 8.105e-06/1.202, allocations: 0 / 0.7726 GB, free: 33.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.04478/1.246, allocations: 10.79 MB / 0.7832 GB, free: 22.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/1.246, allocations: 78.34 kB / 0.7833 GB, free: 22.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004545/1.251, allocations: 2.358 MB / 0.7856 GB, free: 20.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006429/1.252, allocations: 69.7 kB / 0.7856 GB, free: 20.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001036/1.253, allocations: 1.368 MB / 0.787 GB, free: 19.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001384/1.254, allocations: 0.8701 MB / 0.7878 GB, free: 18.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004815/1.255, allocations: 44 kB / 0.7879 GB, free: 18.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/1.255, allocations: 398.5 kB / 0.7882 GB, free: 17.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/1.257, allocations: 1.161 MB / 0.7894 GB, free: 16.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/1.259, allocations: 1.431 MB / 0.7908 GB, free: 15.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002419/1.262, allocations: 1.277 MB / 0.792 GB, free: 13.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/1.262, allocations: 3.938 kB / 0.792 GB, free: 13.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.00832/1.27, allocations: 4.136 MB / 0.7961 GB, free: 9.523 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/1.27, allocations: 14.44 kB / 0.7961 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/1.27, allocations: 4 kB / 0.7961 GB, free: 9.508 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01576/1.286, allocations: 5.367 MB / 0.8013 GB, free: 4.133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/1.288, allocations: 303.6 kB / 0.8016 GB, free: 3.836 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009308/1.297, allocations: 4.39 MB / 0.8059 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004345/1.301, allocations: 469.8 kB / 0.8063 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004327/1.302, allocations: 79.98 kB / 0.8064 GB, free: 14.88 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 169 * 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.0007276/1.303, allocations: 208.7 kB / 0.8066 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/1.304, allocations: 343.7 kB / 0.8069 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03457/1.338, allocations: 11.13 MB / 0.8178 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.032e-05/1.338, allocations: 24 kB / 0.8178 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/1.338, allocations: 0 / 0.8178 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.544e-05/1.338, allocations: 11.95 kB / 0.8178 GB, free: 3.094 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.06518/1.404, allocations: 15.27 MB / 0.8327 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.405e-05/1.404, allocations: 0 / 0.8327 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002684/1.406, allocations: 259.6 kB / 0.833 GB, free: 3.293 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0224/1.429, allocations: 4.414 MB / 0.8373 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000855/1.43, allocations: 51.98 kB / 0.8374 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06592/1.496, allocations: 16.44 MB / 0.8534 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.496, allocations: 4 kB / 0.8534 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06168/1.558, allocations: 13.05 MB / 0.8661 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002079/1.56, allocations: 0.4963 MB / 0.8666 GB, free: 0.5703 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001681/1.561, allocations: 44 kB / 0.8667 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005931/1.567, allocations: 343.7 kB / 0.867 GB, free: 196 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003339/1.571, allocations: 0.5139 MB / 0.8675 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000803/1.572, allocations: 67.92 kB / 0.8676 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00586/1.577, allocations: 1.813 MB / 0.8693 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.353e-06/1.577, allocations: 0 / 0.8693 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007136/1.585, allocations: 0.9792 MB / 0.8703 GB, free: 12.82 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 () * 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.06518/1.65, allocations: 13.76 MB / 0.8837 GB, free: 14.96 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0217/1.672, allocations: 4.587 MB / 0.8882 GB, free: 10.34 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.672, allocations: 0 / 0.8882 GB, free: 10.34 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01844/1.69, allocations: 3.658 MB / 0.8918 GB, free: 6.66 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004296/1.694, allocations: 261.1 kB / 0.892 GB, free: 6.402 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/1.717, allocations: 5.579 MB / 0.8975 GB, free: 0.7578 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4034/2.12, allocations: 1.903 MB / 0.8993 GB, free: 163 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001695/2.122, allocations: 247.3 kB / 0.8996 GB, free: 163 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002273/2.124, allocations: 1.361 MB / 0.9009 GB, free: 163 MB / 0.573 GB Notification: Performance of SimCode: time 1.402e-06/2.124, allocations: 0 / 0.9009 GB, free: 163 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/2.256, allocations: 78.74 MB / 0.9778 GB, free: 125.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001302/2.256, allocations: 173.2 kB / 0.978 GB, free: 125.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.177/7.433, allocations: 3.5 kB / 0.978 GB, free: 125.4 MB / 0.573 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)