Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009757/0.0009757, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008992/0.0008992, allocations: 86.3 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4261/0.4261, allocations: 78.9 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.143e-05, allocations: 4 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3269, allocations: 69.5 MB / 0.5492 GB, free: 19.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.4604, allocations: 110.3 MB / 0.6569 GB, free: 5.285 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.4607, allocations: 87.95 kB / 0.657 GB, free: 5.199 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3774/0.8381, allocations: 38.74 MB / 0.6948 GB, free: 106.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.8381, allocations: 0 / 0.6948 GB, free: 106.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.785e-05/0.8382, allocations: 39 kB / 0.6949 GB, free: 106.6 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.005522/0.8437, allocations: 1.997 MB / 0.6968 GB, free: 105.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.8438, allocations: 11.66 kB / 0.6968 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002215/0.844, allocations: 154.2 kB / 0.697 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003848/0.8479, allocations: 0.7126 MB / 0.6977 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.8494, allocations: 0.9971 MB / 0.6987 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003337/0.8498, allocations: 428.5 kB / 0.6991 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.85, allocations: 97.69 kB / 0.6992 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.8517, allocations: 1.173 MB / 0.7003 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.8517, allocations: 3.703 kB / 0.7003 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.8519, allocations: 34.62 kB / 0.7003 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.8519, allocations: 23.19 kB / 0.7004 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.8535, allocations: 1.088 MB / 0.7014 GB, free: 103.4 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.007217/0.8607, allocations: 4.771 MB / 0.7061 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006884/0.8676, allocations: 3.131 MB / 0.7091 GB, free: 98.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008824/0.8685, allocations: 0.726 MB / 0.7099 GB, free: 98.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.8687, allocations: 32.52 kB / 0.7099 GB, free: 98.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/0.8698, allocations: 0.8562 MB / 0.7107 GB, free: 97.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=124): time 3.286e-06/0.8698, allocations: 0 / 0.7107 GB, free: 97.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.01389/0.8837, allocations: 4.961 MB / 0.7156 GB, free: 92.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.8838, allocations: 119.8 kB / 0.7157 GB, free: 92.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.8855, allocations: 1.165 MB / 0.7168 GB, free: 91.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002619/0.8858, allocations: 49.69 kB / 0.7169 GB, free: 91.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.8862, allocations: 0.5889 MB / 0.7174 GB, free: 90.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.8865, allocations: 457.2 kB / 0.7179 GB, free: 90.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.8866, allocations: 20 kB / 0.7179 GB, free: 90.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.652e-05/0.8867, allocations: 349.9 kB / 0.7182 GB, free: 89.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008524/0.8876, allocations: 0.5728 MB / 0.7188 GB, free: 89.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008634/0.8884, allocations: 0.718 MB / 0.7195 GB, free: 88.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008746/0.8893, allocations: 0.6219 MB / 0.7201 GB, free: 88.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.8893, allocations: 3.938 kB / 0.7201 GB, free: 88.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003475/0.8928, allocations: 2.036 MB / 0.7221 GB, free: 85.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.8928, allocations: 11.94 kB / 0.7221 GB, free: 85.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.8928, allocations: 4 kB / 0.7221 GB, free: 85.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007503/0.9004, allocations: 2.558 MB / 0.7246 GB, free: 83.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008032/0.9012, allocations: 175.8 kB / 0.7248 GB, free: 83.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003714/0.9049, allocations: 2.257 MB / 0.727 GB, free: 80.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.907, allocations: 242.9 kB / 0.7272 GB, free: 80.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.9071, allocations: 43.98 kB / 0.7272 GB, free: 80.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002563/0.9074, allocations: 164.8 kB / 0.7274 GB, free: 80.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.9076, allocations: 162 kB / 0.7276 GB, free: 80.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/0.9212, allocations: 5.112 MB / 0.7325 GB, free: 75.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.9212, allocations: 15.94 kB / 0.7326 GB, free: 75.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.9213, allocations: 0 / 0.7326 GB, free: 75.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.522e-05/0.9213, allocations: 11.97 kB / 0.7326 GB, free: 75.18 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 postOpt removeSimpleEquations (simulation): time 0.01597/0.9373, allocations: 7.134 MB / 0.7395 GB, free: 67.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.9373, allocations: 0 / 0.7395 GB, free: 67.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009479/0.9383, allocations: 135.8 kB / 0.7397 GB, free: 67.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00582/0.9441, allocations: 2.009 MB / 0.7416 GB, free: 65.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002887/0.9444, allocations: 35.94 kB / 0.7417 GB, free: 65.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01586/0.9603, allocations: 7.865 MB / 0.7493 GB, free: 57.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.9604, allocations: 0 / 0.7493 GB, free: 57.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/0.9756, allocations: 6.006 MB / 0.7552 GB, free: 51.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007307/0.9764, allocations: 286.7 kB / 0.7555 GB, free: 51.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.9766, allocations: 24 kB / 0.7555 GB, free: 51.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/0.9781, allocations: 179.8 kB / 0.7557 GB, free: 51.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007272/0.9789, allocations: 261.2 kB / 0.7559 GB, free: 50.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-05/0.979, allocations: 39.95 kB / 0.756 GB, free: 50.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001147/0.9801, allocations: 0.9079 MB / 0.7569 GB, free: 50 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9802, allocations: 0 / 0.7569 GB, free: 50 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001129/0.9813, allocations: 491.4 kB / 0.7573 GB, free: 49.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01572/0.997, allocations: 6.775 MB / 0.7639 GB, free: 42.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006095/1.003, allocations: 2.272 MB / 0.7662 GB, free: 40.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.003, allocations: 4.25 kB / 0.7662 GB, free: 40.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004826/1.008, allocations: 1.879 MB / 0.768 GB, free: 38.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009861/1.009, allocations: 116.7 kB / 0.7681 GB, free: 38.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/1.013, allocations: 2.595 MB / 0.7706 GB, free: 35.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/1.014, allocations: 1.234 MB / 0.7718 GB, free: 34.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004718/1.014, allocations: 112.2 kB / 0.772 GB, free: 34.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006111/1.015, allocations: 0.5774 MB / 0.7725 GB, free: 33.83 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/1.015, allocations: 4 kB / 0.7725 GB, free: 33.83 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05039/1.065, allocations: 37.02 MB / 0.8087 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/1.066, allocations: 164.9 kB / 0.8088 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/4.057, allocations: 0 / 0.8088 GB, free: 12.73 MB / 0.4948 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)