Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Banks_PSSE_CSVGN1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_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.0008002/0.0008002, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.283/1.283, allocations: 223.2 MB / 239.3 MB, free: 5.43 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.0009383/0.0009384, allocations: 180.5 kB / 290.6 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.424/0.424, allocations: 78.55 MB / 420.3 MB, free: 4.273 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003274, allocations: 8 kB / 0.4888 GB, free: 5.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1133, allocations: 69.35 MB / 0.5565 GB, free: 0.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Banks.PSSE.CSVGN1): time 0.1943/0.3076, allocations: 8.462 MB / 0.5647 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003562/0.3112, allocations: 2.721 MB / 0.5674 GB, free: 33.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/0.3117, allocations: 21.06 kB / 0.5674 GB, free: 33.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.3122, allocations: 257.4 kB / 0.5677 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.3141, allocations: 1.143 MB / 0.5688 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.3152, allocations: 0.7525 MB / 0.5695 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001541/0.3167, allocations: 2.41 MB / 0.5719 GB, free: 32.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00044/0.3172, allocations: 423.6 kB / 0.5723 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005687/0.3177, allocations: 0.8271 MB / 0.5731 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007841/0.3185, allocations: 1.114 MB / 0.5742 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.3187, allocations: 94.38 kB / 0.5743 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004241/0.3191, allocations: 309.1 kB / 0.5746 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.3194, allocations: 392 kB / 0.5749 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005169/0.3199, allocations: 0.8881 MB / 0.5758 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.3212, allocations: 2.305 MB / 0.578 GB, free: 30.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3212, allocations: 0 / 0.578 GB, free: 30.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3212, allocations: 0 / 0.578 GB, free: 30.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.3213, allocations: 1.406 kB / 0.578 GB, free: 30.75 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.01191/0.3332, allocations: 3.879 MB / 0.5818 GB, free: 29.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3332, allocations: 8.844 kB / 0.5818 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/0.3334, allocations: 162.2 kB / 0.582 GB, free: 29.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003853/0.3373, allocations: 0.768 MB / 0.5828 GB, free: 29.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.3387, allocations: 1.181 MB / 0.5839 GB, free: 28.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003168/0.339, allocations: 446.8 kB / 0.5843 GB, free: 28.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.3392, allocations: 123.1 kB / 0.5844 GB, free: 28.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.3417, allocations: 1.594 MB / 0.586 GB, free: 27.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.3418, allocations: 6.375 kB / 0.586 GB, free: 27.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.3419, allocations: 42.56 kB / 0.5861 GB, free: 27.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.3419, allocations: 22.81 kB / 0.5861 GB, free: 27.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002834/0.3447, allocations: 1.512 MB / 0.5875 GB, free: 27.26 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.00687/0.3516, allocations: 5.225 MB / 0.5927 GB, free: 24.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008311/0.3599, allocations: 3.705 MB / 0.5963 GB, free: 22.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.3618, allocations: 1.05 MB / 0.5973 GB, free: 22.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.3619, allocations: 22.06 kB / 0.5973 GB, free: 22.51 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002183/0.3641, allocations: 1.186 MB / 0.5985 GB, free: 22.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=137): time 2.886e-06/0.3641, allocations: 0 / 0.5985 GB, free: 22.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.05524/0.4194, allocations: 15.13 MB / 0.6133 GB, free: 18.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.4195, allocations: 121.8 kB / 0.6134 GB, free: 18.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.4215, allocations: 1.486 MB / 0.6148 GB, free: 17.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001713/0.4217, allocations: 51.58 kB / 0.6149 GB, free: 17.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/0.422, allocations: 0.6322 MB / 0.6155 GB, free: 16.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/0.4224, allocations: 494.8 kB / 0.616 GB, free: 16.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.4226, allocations: 181.9 kB / 0.6161 GB, free: 16.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.39e-05/0.4226, allocations: 301.1 kB / 0.6164 GB, free: 16.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.4245, allocations: 1.071 MB / 0.6175 GB, free: 14.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/0.4264, allocations: 1.302 MB / 0.6187 GB, free: 13.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003655/0.4301, allocations: 2.341 MB / 0.621 GB, free: 11.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4301, allocations: 0 / 0.621 GB, free: 11.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.01644/0.4465, allocations: 6.821 MB / 0.6277 GB, free: 4.383 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.775e-05/0.4466, allocations: 216.9 kB / 0.6279 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4466, allocations: 7.938 kB / 0.6279 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008775/0.4554, allocations: 3.23 MB / 0.6311 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.4565, allocations: 287.6 kB / 0.6313 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007157/0.4637, allocations: 3.422 MB / 0.6347 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/0.4657, allocations: 311.1 kB / 0.635 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.4659, allocations: 68.58 kB / 0.635 GB, free: 12.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.272e-06/0.4659, allocations: 4 kB / 0.635 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01866/0.4846, allocations: 6.535 MB / 0.6414 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4846, allocations: 8.312 kB / 0.6414 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009605/0.4942, allocations: 3.199 MB / 0.6445 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.4953, allocations: 287.6 kB / 0.6448 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00713/0.5025, allocations: 3.307 MB / 0.6481 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.5044, allocations: 287.4 kB / 0.6483 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.5046, allocations: 63.98 kB / 0.6484 GB, free: 15.06 MB / 462.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.0006823/0.5053, allocations: 406.5 kB / 0.6488 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/0.5055, allocations: 169.8 kB / 0.6489 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01785/0.5234, allocations: 6.183 MB / 0.655 GB, free: 8.277 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.5234, allocations: 21.39 kB / 0.655 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.5234, allocations: 1.062 kB / 0.655 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.5235, allocations: 7.969 kB / 0.655 GB, free: 8.25 MB / 462.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.02013/0.5436, allocations: 8.423 MB / 0.6632 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.5436, allocations: 4 kB / 0.6632 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/0.5442, allocations: 127.8 kB / 0.6634 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008881/0.5531, allocations: 2.92 MB / 0.6662 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.5533, allocations: 27.98 kB / 0.6662 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02848/0.5817, allocations: 12.11 MB / 0.6781 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5818, allocations: 0.8906 kB / 0.6781 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02013/0.6019, allocations: 7.449 MB / 0.6853 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004492/0.6024, allocations: 291.5 kB / 0.6856 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.6026, allocations: 29.88 kB / 0.6856 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/0.6042, allocations: 191.8 kB / 0.6858 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006996/0.6049, allocations: 265.4 kB / 0.6861 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.605, allocations: 39.98 kB / 0.6861 GB, free: 8.031 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001441/0.6065, allocations: 1.012 MB / 0.6871 GB, free: 7.023 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6065, allocations: 0 / 0.6871 GB, free: 7.023 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001919/0.6084, allocations: 0.8972 MB / 0.688 GB, free: 6.125 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 (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.0206/0.629, allocations: 8.035 MB / 0.6958 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01603/0.6451, allocations: 5.665 MB / 0.7014 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6451, allocations: 4.25 kB / 0.7014 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006449/0.6515, allocations: 2.326 MB / 0.7036 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.6531, allocations: 157.6 kB / 0.7038 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04896/0.702, allocations: 23.73 MB / 0.727 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008338/0.7029, allocations: 1.269 MB / 0.7282 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007061/0.7036, allocations: 173.2 kB / 0.7284 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008173/0.7044, allocations: 0.6495 MB / 0.729 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/0.7044, allocations: 0 / 0.729 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2584/0.9628, allocations: 49.3 MB / 0.7771 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001175/0.963, allocations: 197.6 kB / 0.7773 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.829/3.792, allocations: 0 / 0.7773 GB, free: 170.4 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Banks_PSSE_CSVGN1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Banks_PSSE_CSVGN1.fmu > OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe 2>&1)