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.001096/0.001096, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.587/1.587, allocations: 223.3 MB / 239.4 MB, free: 5.527 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.001445/0.001445, allocations: 183.4 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5914/0.5914, allocations: 91.93 MB / 433.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004365, allocations: 11.98 kB / 0.5049 GB, free: 7.176 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5109/0.5113, allocations: 72.46 MB / 0.5756 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Banks.PSSE.CSVGN1): time 0.008537/0.52, allocations: 8.492 MB / 0.5839 GB, free: 31.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007061/0.5271, allocations: 2.73 MB / 0.5866 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00239/0.5295, allocations: 14.75 kB / 0.5866 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.5309, allocations: 266.5 kB / 0.5869 GB, free: 29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.5346, allocations: 0.9336 MB / 0.5878 GB, free: 28.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.5367, allocations: 0.8351 MB / 0.5886 GB, free: 27.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003365/0.5401, allocations: 2.253 MB / 0.5908 GB, free: 26.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007687/0.5409, allocations: 421.4 kB / 0.5912 GB, free: 26.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.5426, allocations: 0.8079 MB / 0.592 GB, free: 26.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.5443, allocations: 1.098 MB / 0.5931 GB, free: 25.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003331/0.5446, allocations: 94.06 kB / 0.5931 GB, free: 25.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.5457, allocations: 306.3 kB / 0.5934 GB, free: 25.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003878/0.5461, allocations: 394.4 kB / 0.5938 GB, free: 25.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009071/0.547, allocations: 0.874 MB / 0.5947 GB, free: 24.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002674/0.5497, allocations: 2.294 MB / 0.5969 GB, free: 24.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.5497, allocations: 1.812 kB / 0.5969 GB, free: 24.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.614e-06/0.5497, allocations: 0 / 0.5969 GB, free: 24.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.317e-05/0.5498, allocations: 0 / 0.5969 GB, free: 24.15 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.01453/0.5643, allocations: 3.523 MB / 0.6003 GB, free: 22.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.5644, allocations: 10.38 kB / 0.6004 GB, free: 22.78 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008405/0.5652, allocations: 168.7 kB / 0.6005 GB, free: 22.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005702/0.5709, allocations: 0.7638 MB / 0.6013 GB, free: 22.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004375/0.5754, allocations: 1.184 MB / 0.6024 GB, free: 21.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007134/0.5761, allocations: 446.8 kB / 0.6028 GB, free: 21.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004223/0.5766, allocations: 121.3 kB / 0.603 GB, free: 21.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004606/0.5812, allocations: 1.593 MB / 0.6045 GB, free: 20.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.5812, allocations: 0 / 0.6045 GB, free: 20.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.5814, allocations: 41.83 kB / 0.6046 GB, free: 20.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-05/0.5815, allocations: 29.59 kB / 0.6046 GB, free: 20.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00448/0.5859, allocations: 1.509 MB / 0.6061 GB, free: 20.16 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.01261/0.5986, allocations: 5.222 MB / 0.6112 GB, free: 17.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.609, allocations: 3.705 MB / 0.6148 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002996/0.6121, allocations: 1.047 MB / 0.6158 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.6123, allocations: 25.3 kB / 0.6158 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003146/0.6155, allocations: 1.193 MB / 0.617 GB, free: 14.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=137): time 4.899e-06/0.6155, allocations: 96 / 0.617 GB, free: 14.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.06145/0.677, allocations: 15.13 MB / 0.6318 GB, free: 3.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.6771, allocations: 128.1 kB / 0.6319 GB, free: 3.469 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/0.6796, allocations: 1.478 MB / 0.6333 GB, free: 1.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005824/0.6802, allocations: 53.7 kB / 0.6334 GB, free: 1.922 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000445/0.6807, allocations: 0.6399 MB / 0.634 GB, free: 1.277 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000588/0.6813, allocations: 492.9 kB / 0.6345 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.6815, allocations: 177.6 kB / 0.6346 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.6816, allocations: 301.1 kB / 0.6349 GB, free: 320 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002411/0.684, allocations: 1.078 MB / 0.636 GB, free: 15.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/0.6867, allocations: 1.298 MB / 0.6372 GB, free: 13.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00515/0.6919, allocations: 2.333 MB / 0.6395 GB, free: 11.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.6919, allocations: 0 / 0.6395 GB, free: 11.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.02223/0.7141, allocations: 6.827 MB / 0.6462 GB, free: 4.648 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002334/0.7145, allocations: 216.7 kB / 0.6464 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.7145, allocations: 7.938 kB / 0.6464 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01208/0.7266, allocations: 3.232 MB / 0.6496 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.7284, allocations: 283.6 kB / 0.6498 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009528/0.7379, allocations: 3.424 MB / 0.6532 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003432/0.7414, allocations: 314.2 kB / 0.6535 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004657/0.7419, allocations: 67.98 kB / 0.6535 GB, free: 13.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.742, allocations: 4 kB / 0.6535 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02201/0.764, allocations: 6.527 MB / 0.6599 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/0.7641, allocations: 7.938 kB / 0.6599 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01198/0.7761, allocations: 3.197 MB / 0.6631 GB, free: 3.289 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/0.7782, allocations: 295.5 kB / 0.6633 GB, free: 3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009549/0.7878, allocations: 3.303 MB / 0.6666 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00329/0.7911, allocations: 282.5 kB / 0.6668 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004824/0.7916, allocations: 63.98 kB / 0.6669 GB, free: 15.32 MB / 478.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 ($whenCondition2,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(31,44)} Notification: Performance of prepare postOptimizeDAE: time 0.00143/0.7931, allocations: 400.7 kB / 0.6673 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008498/0.794, allocations: 173.8 kB / 0.6674 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02033/0.8143, allocations: 6.183 MB / 0.6735 GB, free: 8.539 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.348e-05/0.8144, allocations: 15.94 kB / 0.6735 GB, free: 8.523 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.8144, allocations: 0 / 0.6735 GB, free: 8.523 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.937e-05/0.8145, allocations: 11.97 kB / 0.6735 GB, free: 8.512 MB / 478.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.02649/0.841, allocations: 8.423 MB / 0.6817 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.348e-05/0.8411, allocations: 3.984 kB / 0.6817 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.8421, allocations: 131.8 kB / 0.6819 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01083/0.853, allocations: 2.918 MB / 0.6847 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000514/0.8535, allocations: 31.98 kB / 0.6847 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03461/0.8882, allocations: 12.11 MB / 0.6966 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.8882, allocations: 0 / 0.6966 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02445/0.9127, allocations: 7.456 MB / 0.7038 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/0.9141, allocations: 286.5 kB / 0.7041 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001194/0.9154, allocations: 27.94 kB / 0.7041 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002866/0.9183, allocations: 199.8 kB / 0.7043 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001308/0.9196, allocations: 269.3 kB / 0.7046 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003172/0.9199, allocations: 36 kB / 0.7046 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002631/0.9226, allocations: 0.9999 MB / 0.7056 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9226, allocations: 4 kB / 0.7056 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004927/0.9275, allocations: 0.9011 MB / 0.7065 GB, free: 6.383 MB / 0.4981 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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(27,41)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02472/0.9523, allocations: 8.049 MB / 0.7143 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0216/0.9739, allocations: 5.655 MB / 0.7199 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.668e-05/0.974, allocations: 0 / 0.7199 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.008439/0.9825, allocations: 2.322 MB / 0.7221 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/0.9858, allocations: 161.5 kB / 0.7223 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06656/1.052, allocations: 23.73 MB / 0.7455 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/1.054, allocations: 1.269 MB / 0.7467 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001319/1.055, allocations: 174.7 kB / 0.7469 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/1.056, allocations: 0.6477 MB / 0.7475 GB, free: 11.25 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/1.056, allocations: 0 / 0.7475 GB, free: 11.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4404/1.497, allocations: 49.3 MB / 0.7956 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/1.497, allocations: 205.7 kB / 0.7958 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.793/5.29, allocations: 1.312 kB / 0.7958 GB, free: 167.9 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/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)