Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.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.Tests.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1",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.001044/0.001043, 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 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.000797/0.000797, allocations: 90.11 kB / 266.6 MB, free: 9.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06853/0.06853, allocations: 12.2 MB / 326.9 MB, free: 12.87 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2817/0.2817, allocations: 78.02 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.477e-05, allocations: 8 kB / 0.5213 GB, free: 24.1 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1188, allocations: 69.24 MB / 0.5889 GB, free: 2.926 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4019/0.5207, allocations: 113.2 MB / 0.6994 GB, free: 3.262 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.521, allocations: 77.89 kB / 0.6995 GB, free: 3.223 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1158/0.6368, allocations: 44.2 MB / 0.7427 GB, free: 14.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.6368, allocations: 0 / 0.7427 GB, free: 14.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.235e-05/0.6369, allocations: 35.94 kB / 0.7427 GB, free: 14.16 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.005487/0.6424, allocations: 2.139 MB / 0.7448 GB, free: 12.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.6425, allocations: 15.92 kB / 0.7448 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002654/0.6428, allocations: 165.9 kB / 0.745 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002916/0.6457, allocations: 0.562 MB / 0.7455 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.6475, allocations: 1.053 MB / 0.7466 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004313/0.648, allocations: 443.7 kB / 0.747 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.6482, allocations: 105.9 kB / 0.7471 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.6503, allocations: 1.298 MB / 0.7484 GB, free: 9.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.6503, allocations: 0 / 0.7484 GB, free: 9.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.6504, allocations: 41.31 kB / 0.7484 GB, free: 9.223 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.6505, allocations: 27.98 kB / 0.7484 GB, free: 9.195 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.6525, allocations: 1.184 MB / 0.7496 GB, free: 8.453 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.008286/0.6608, allocations: 5.043 MB / 0.7545 GB, free: 4.566 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007473/0.6683, allocations: 3.353 MB / 0.7578 GB, free: 1.547 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.6696, allocations: 0.7685 MB / 0.7585 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.6698, allocations: 33.27 kB / 0.7586 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001442/0.6712, allocations: 0.9051 MB / 0.7594 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=137): time 3.266e-06/0.6713, allocations: 0 / 0.7594 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=137): time 0.01653/0.6878, allocations: 5.25 MB / 0.7646 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.6879, allocations: 116.1 kB / 0.7647 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/0.6905, allocations: 1.221 MB / 0.7659 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005157/0.691, allocations: 49.7 kB / 0.7659 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006729/0.6917, allocations: 0.6678 MB / 0.7666 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007381/0.6924, allocations: 480.9 kB / 0.767 GB, free: 8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.6925, allocations: 32 kB / 0.7671 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.6928, allocations: 353.9 kB / 0.7674 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.694, allocations: 0.6133 MB / 0.768 GB, free: 7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.6953, allocations: 0.7975 MB / 0.7688 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.6965, allocations: 0.6766 MB / 0.7694 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.6965, allocations: 0 / 0.7694 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004392/0.7009, allocations: 2.22 MB / 0.7716 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005574/0.7015, allocations: 1.535 MB / 0.7731 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.7015, allocations: 8 kB / 0.7731 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00874/0.7103, allocations: 2.71 MB / 0.7758 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008843/0.7112, allocations: 179.7 kB / 0.7759 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005004/0.7162, allocations: 2.62 MB / 0.7785 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.7184, allocations: 266.7 kB / 0.7787 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.7186, allocations: 51.97 kB / 0.7788 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.7186, allocations: 4 kB / 0.7788 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003549/0.7221, allocations: 2.033 MB / 0.7808 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7222, allocations: 4 kB / 0.7808 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00843/0.7306, allocations: 2.694 MB / 0.7834 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008668/0.7315, allocations: 183.7 kB / 0.7836 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004856/0.7363, allocations: 2.55 MB / 0.7861 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/0.7385, allocations: 258.7 kB / 0.7863 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.7386, allocations: 43.98 kB / 0.7864 GB, free: 3.918 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,cSVGN1.leadLagLim.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * 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 {30 45} Notification: Performance of prepare postOptimizeDAE: time 0.0003578/0.739, allocations: 188.4 kB / 0.7865 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.7393, allocations: 169.9 kB / 0.7867 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01555/0.7549, allocations: 5.399 MB / 0.792 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.7549, allocations: 16 kB / 0.792 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.7549, allocations: 0 / 0.792 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-05/0.755, allocations: 11.95 kB / 0.792 GB, free: 14.11 MB / 0.5261 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.01891/0.7739, allocations: 7.551 MB / 0.7994 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/0.774, allocations: 4 kB / 0.7994 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008153/0.7748, allocations: 127.8 kB / 0.7995 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007591/0.7824, allocations: 2.383 MB / 0.8018 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002911/0.7827, allocations: 31.98 kB / 0.8019 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02089/0.8036, allocations: 9.42 MB / 0.8111 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8037, allocations: 0 / 0.8111 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01817/0.8218, allocations: 6.412 MB / 0.8173 GB, free: 3.832 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007823/0.8227, allocations: 294.5 kB / 0.8176 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003069/0.823, allocations: 24 kB / 0.8176 GB, free: 3.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/0.8247, allocations: 187.8 kB / 0.8178 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008154/0.8255, allocations: 277.3 kB / 0.8181 GB, free: 3.047 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.8256, allocations: 39.98 kB / 0.8181 GB, free: 3.008 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001325/0.8269, allocations: 0.9486 MB / 0.819 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8269, allocations: 4 kB / 0.819 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001784/0.8287, allocations: 0.8113 MB / 0.8198 GB, free: 1.246 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,cSVGN1.LagLim.state,cSVGN1.leadLag.TF.x_scaled[1],cSVGN1.leadLagLim.integrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * 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 {27 41} Notification: Performance of Backend phase and start with SimCode phase: time 0.01819/0.8469, allocations: 7.105 MB / 0.8268 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01311/0.8601, allocations: 4.281 MB / 0.831 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.8601, allocations: 3.938 kB / 0.831 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005911/0.8661, allocations: 2.012 MB / 0.8329 GB, free: 3.789 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.8673, allocations: 137.4 kB / 0.8331 GB, free: 3.652 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/0.8727, allocations: 2.774 MB / 0.8358 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007239/0.8735, allocations: 1.306 MB / 0.837 GB, free: 15.49 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001072/0.8746, allocations: 250.1 kB / 0.8373 GB, free: 15.24 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006731/0.8752, allocations: 0.6203 MB / 0.8379 GB, free: 14.62 MB / 0.573 GB Notification: Performance of SimCode: time 1.042e-06/0.8752, allocations: 4 kB / 0.8379 GB, free: 14.62 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3449/1.22, allocations: 49.73 MB / 0.8865 GB, free: 183 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/1.22, allocations: 171.1 kB / 0.8866 GB, free: 182.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.677/4.897, allocations: 4 kB / 0.8866 GB, free: 182.7 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe 2>&1)