Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000839/0.0008387, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.3 MB / 239 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 180.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.513/0.513, allocations: 79.47 MB / 420.8 MB, free: 3.914 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003851, allocations: 12 kB / 0.4892 GB, free: 5.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4392/0.4396, allocations: 69.51 MB / 0.5571 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Banks.PSSE.CSVGN1): time 0.008383/0.4481, allocations: 7.929 MB / 0.5648 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00764/0.4558, allocations: 2.605 MB / 0.5674 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.4578, allocations: 21.28 kB / 0.5674 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.4589, allocations: 234.4 kB / 0.5676 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.462, allocations: 0.879 MB / 0.5685 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.4639, allocations: 0.7256 MB / 0.5692 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003194/0.4671, allocations: 2.114 MB / 0.5713 GB, free: 34.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007318/0.4678, allocations: 362.7 kB / 0.5716 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.4693, allocations: 0.8024 MB / 0.5724 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.4705, allocations: 1.057 MB / 0.5734 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.4708, allocations: 95.25 kB / 0.5735 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007223/0.4715, allocations: 306.8 kB / 0.5738 GB, free: 33.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.4718, allocations: 382.7 kB / 0.5742 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.4722, allocations: 311.7 kB / 0.5745 GB, free: 32.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.4736, allocations: 1.808 MB / 0.5762 GB, free: 32.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4737, allocations: 0 / 0.5762 GB, free: 32.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4737, allocations: 0 / 0.5762 GB, free: 32.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.553e-05/0.4737, allocations: 0 / 0.5762 GB, free: 32.18 MB / 430.1 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.01136/0.4851, allocations: 3.536 MB / 0.5797 GB, free: 30.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4851, allocations: 7.625 kB / 0.5797 GB, free: 30.87 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000592/0.4857, allocations: 172.3 kB / 0.5799 GB, free: 30.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/0.4903, allocations: 0.7638 MB / 0.5806 GB, free: 30.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.4925, allocations: 1.127 MB / 0.5817 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/0.4929, allocations: 444.4 kB / 0.5821 GB, free: 29.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.4931, allocations: 118.5 kB / 0.5822 GB, free: 29.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/0.4958, allocations: 1.587 MB / 0.5838 GB, free: 28.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.4959, allocations: 1.453 kB / 0.5838 GB, free: 28.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.496, allocations: 46.45 kB / 0.5838 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.496, allocations: 25.06 kB / 0.5839 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002798/0.4988, allocations: 1.51 MB / 0.5853 GB, free: 28.3 MB / 430.1 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.008731/0.5076, allocations: 5.22 MB / 0.5904 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00826/0.5159, allocations: 3.693 MB / 0.594 GB, free: 23.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002386/0.5183, allocations: 1.047 MB / 0.5951 GB, free: 23.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001646/0.5185, allocations: 23.56 kB / 0.5951 GB, free: 23.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00241/0.5209, allocations: 1.186 MB / 0.5962 GB, free: 23.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=137): time 4.268e-06/0.5209, allocations: 4.094 kB / 0.5962 GB, free: 23.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.0563/0.5772, allocations: 15 MB / 0.6109 GB, free: 19.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.5774, allocations: 119.4 kB / 0.611 GB, free: 19.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004169/0.5816, allocations: 1.475 MB / 0.6124 GB, free: 18.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007381/0.5824, allocations: 56.2 kB / 0.6125 GB, free: 18.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006784/0.5831, allocations: 0.6278 MB / 0.6131 GB, free: 18.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001033/0.5842, allocations: 495.3 kB / 0.6136 GB, free: 17.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.5843, allocations: 40.84 kB / 0.6136 GB, free: 17.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.5845, allocations: 373.4 kB / 0.614 GB, free: 17.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002613/0.5871, allocations: 1.067 MB / 0.615 GB, free: 17.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002424/0.5896, allocations: 1.293 MB / 0.6163 GB, free: 15.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/0.5919, allocations: 1.146 MB / 0.6174 GB, free: 14.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.592, allocations: 4 kB / 0.6174 GB, free: 14.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.01033/0.6023, allocations: 4.294 MB / 0.6216 GB, free: 10.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002216/0.6026, allocations: 212.6 kB / 0.6218 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.6026, allocations: 8 kB / 0.6218 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009924/0.6126, allocations: 3.246 MB / 0.625 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.6144, allocations: 288.1 kB / 0.6253 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008793/0.6232, allocations: 3.414 MB / 0.6286 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003372/0.6267, allocations: 322.1 kB / 0.6289 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005442/0.6273, allocations: 64.61 kB / 0.629 GB, free: 2.809 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6273, allocations: 4 kB / 0.629 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01137/0.6387, allocations: 4.066 MB / 0.6329 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-05/0.6388, allocations: 4.375 kB / 0.6329 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01078/0.6496, allocations: 3.202 MB / 0.6361 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.6513, allocations: 287.6 kB / 0.6363 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008504/0.6599, allocations: 3.296 MB / 0.6396 GB, free: 7.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/0.663, allocations: 283.6 kB / 0.6398 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005263/0.6636, allocations: 63.98 kB / 0.6399 GB, free: 7.57 MB / 446.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 168 * 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.001803/0.6654, allocations: 406.6 kB / 0.6403 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001045/0.6665, allocations: 169.8 kB / 0.6404 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01857/0.6851, allocations: 6.171 MB / 0.6465 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/0.6852, allocations: 16 kB / 0.6465 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.6852, allocations: 0 / 0.6465 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.104e-05/0.6852, allocations: 13.91 kB / 0.6465 GB, free: 0.7773 MB / 446.1 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 postOpt removeSimpleEquations (simulation): time 0.0238/0.7091, allocations: 8.415 MB / 0.6547 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.228e-05/0.7092, allocations: 0 / 0.6547 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000943/0.7101, allocations: 135.8 kB / 0.6548 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009318/0.7195, allocations: 2.914 MB / 0.6577 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003399/0.7198, allocations: 31.98 kB / 0.6577 GB, free: 5.125 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03148/0.7513, allocations: 12.09 MB / 0.6695 GB, free: 8.891 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.7514, allocations: 0 / 0.6695 GB, free: 8.891 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02094/0.7724, allocations: 7.427 MB / 0.6768 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.7735, allocations: 290.5 kB / 0.6771 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007614/0.7743, allocations: 35.95 kB / 0.6771 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/0.7765, allocations: 187.8 kB / 0.6773 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/0.7777, allocations: 273.4 kB / 0.6775 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/0.7779, allocations: 37.3 kB / 0.6776 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002633/0.7805, allocations: 0.9999 MB / 0.6785 GB, free: 15.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7805, allocations: 2.344 kB / 0.6785 GB, free: 15.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004316/0.7849, allocations: 0.8934 MB / 0.6794 GB, free: 14.71 MB / 494.1 MB 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 () * Number of clocked 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.02082/0.8057, allocations: 8.03 MB / 0.6873 GB, free: 6.645 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0167/0.8225, allocations: 5.637 MB / 0.6928 GB, free: 1.016 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.8226, allocations: 0 / 0.6928 GB, free: 1.016 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006584/0.8291, allocations: 2.313 MB / 0.695 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.8314, allocations: 156.9 kB / 0.6952 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03302/0.8644, allocations: 14.76 MB / 0.7096 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.8657, allocations: 1.269 MB / 0.7108 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001146/0.8669, allocations: 172.8 kB / 0.711 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.868, allocations: 0.6438 MB / 0.7116 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of SimCode: time 1.593e-06/0.8681, allocations: 0 / 0.7116 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08699/0.9551, allocations: 49.14 MB / 0.7596 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.9553, allocations: 189.2 kB / 0.7598 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.619/4.574, allocations: 3.938 kB / 0.7598 GB, free: 11.91 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe 2>&1) Environment - environmentSimulation: