Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000885/0.0008851, allocations: 82.97 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1025/0.1025, allocations: 12.19 MB / 321.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3163/0.3163, allocations: 78.06 MB / 450.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.818e-05, allocations: 0 / 0.5142 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1734, allocations: 69.24 MB / 0.5819 GB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5462/0.7197, allocations: 104.7 MB / 0.6841 GB, free: 3.945 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001667/0.7199, allocations: 73.84 kB / 0.6842 GB, free: 3.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2197/0.9395, allocations: 92.15 MB / 0.7742 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.223e-06/0.9396, allocations: 3.938 kB / 0.7742 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001458/0.9397, allocations: 52 kB / 0.7742 GB, free: 2.398 MB / 0.4948 GB 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.0109/0.9506, allocations: 3.934 MB / 0.7781 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.9507, allocations: 8.031 kB / 0.7781 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007453/0.9582, allocations: 1.275 MB / 0.7793 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/0.9619, allocations: 1.824 MB / 0.7811 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007024/0.9626, allocations: 0.595 MB / 0.7817 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000367/0.963, allocations: 119.9 kB / 0.7818 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003837/0.9668, allocations: 2.206 MB / 0.7839 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003508/0.9703, allocations: 1.945 MB / 0.7858 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.9704, allocations: 7.938 kB / 0.7858 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001907/0.9706, allocations: 0 / 0.7858 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/0.9706, allocations: 44 kB / 0.7859 GB, free: 6.223 MB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.0216/0.9922, allocations: 10.32 MB / 0.796 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009958/1.002, allocations: 4.755 MB / 0.8006 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002514/1.005, allocations: 1.428 MB / 0.802 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/1.005, allocations: 41.95 kB / 0.802 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/1.005, allocations: 60.56 kB / 0.8021 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=249): time 3.827e-06/1.005, allocations: 0 / 0.8021 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of matching and sorting (n=249): time 0.03318/1.038, allocations: 10.63 MB / 0.8125 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/1.038, allocations: 77.41 kB / 0.8126 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00358/1.042, allocations: 2.166 MB / 0.8147 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005631/1.043, allocations: 29.64 kB / 0.8147 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/1.044, allocations: 1.375 MB / 0.8161 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001015/1.045, allocations: 0.835 MB / 0.8169 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/1.045, allocations: 4 kB / 0.8169 GB, free: 5.699 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.045, allocations: 390.5 kB / 0.8172 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/1.047, allocations: 1.126 MB / 0.8183 GB, free: 4.184 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/1.049, allocations: 1.371 MB / 0.8197 GB, free: 2.734 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/1.051, allocations: 1.245 MB / 0.8209 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.051, allocations: 4 kB / 0.8209 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007278/1.058, allocations: 3.938 MB / 0.8247 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/1.059, allocations: 8 kB / 0.8248 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.059, allocations: 4 kB / 0.8248 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01549/1.074, allocations: 4.991 MB / 0.8296 GB, free: 8.465 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/1.076, allocations: 307.5 kB / 0.8299 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009539/1.085, allocations: 4.803 MB / 0.8346 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00381/1.089, allocations: 417.8 kB / 0.835 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/1.089, allocations: 79.97 kB / 0.8351 GB, free: 2.848 MB / 0.5573 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.0004707/1.09, allocations: 140.6 kB / 0.8352 GB, free: 2.703 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03196/1.122, allocations: 10.63 MB / 0.8456 GB, free: 8.051 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001467/1.123, allocations: 339.7 kB / 0.8459 GB, free: 7.715 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4714/1.595, allocations: 10.89 MB / 0.8566 GB, free: 135.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.734e-05/1.595, allocations: 24.19 kB / 0.8566 GB, free: 135.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/1.595, allocations: 1 kB / 0.8566 GB, free: 135.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001107/1.595, allocations: 11.25 kB / 0.8566 GB, free: 135.2 MB / 0.573 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.04656/1.641, allocations: 14.83 MB / 0.8711 GB, free: 134 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/1.641, allocations: 0 / 0.8711 GB, free: 134 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002225/1.644, allocations: 269.3 kB / 0.8713 GB, free: 134 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01553/1.659, allocations: 4.385 MB / 0.8756 GB, free: 133.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001035/1.66, allocations: 12.58 kB / 0.8756 GB, free: 133.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03497/1.695, allocations: 16.26 MB / 0.8915 GB, free: 132.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/1.695, allocations: 3.375 kB / 0.8915 GB, free: 132.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0352/1.731, allocations: 12.84 MB / 0.904 GB, free: 131.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0019/1.733, allocations: 499.4 kB / 0.9045 GB, free: 131.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/1.734, allocations: 7.297 kB / 0.9045 GB, free: 131.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003477/1.737, allocations: 302.8 kB / 0.9048 GB, free: 131.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001829/1.739, allocations: 0.5168 MB / 0.9053 GB, free: 131.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/1.739, allocations: 68.66 kB / 0.9054 GB, free: 131.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002858/1.742, allocations: 1.626 MB / 0.907 GB, free: 131.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.62e-07/1.742, allocations: 0 / 0.907 GB, free: 131.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004566/1.747, allocations: 0.8902 MB / 0.9078 GB, free: 131.3 MB / 0.573 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.03532/1.782, allocations: 13.51 MB / 0.921 GB, free: 127.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0122/1.794, allocations: 4.457 MB / 0.9254 GB, free: 126 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.794, allocations: 0 / 0.9254 GB, free: 126 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01108/1.805, allocations: 3.544 MB / 0.9288 GB, free: 124.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002919/1.808, allocations: 221.4 kB / 0.9291 GB, free: 124.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.82, allocations: 5.368 MB / 0.9343 GB, free: 120.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/1.821, allocations: 1.907 MB / 0.9362 GB, free: 119.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001184/1.822, allocations: 243.7 kB / 0.9364 GB, free: 119.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001546/1.824, allocations: 1.361 MB / 0.9377 GB, free: 118 MB / 0.573 GB Notification: Performance of SimCode: time 1.552e-06/1.824, allocations: 0 / 0.9377 GB, free: 118 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/1.959, allocations: 72.52 MB / 1.009 GB, free: 60.08 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/1.96, allocations: 130.4 kB / 1.009 GB, free: 59.89 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.485/7.445, allocations: 0 / 1.009 GB, free: 59.89 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)