Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.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.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",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.001419/0.001418, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.3 MB / 213.4 MB, free: 13.69 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.0009956/0.0009956, allocations: 88.22 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1009/0.1009, allocations: 12.2 MB / 321.5 MB, free: 1.176 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3207/0.3207, allocations: 78.06 MB / 450.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.001e-05/1.995e-05, allocations: 4 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1473, allocations: 69.24 MB / 0.5819 GB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4655/0.6128, allocations: 117.2 MB / 0.6963 GB, free: 7.566 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.6131, allocations: 87.38 kB / 0.6964 GB, free: 7.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1445/0.7576, allocations: 51.35 MB / 0.7465 GB, free: 13.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.7576, allocations: 0 / 0.7465 GB, free: 13.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001288/0.7578, allocations: 39.56 kB / 0.7465 GB, free: 13.35 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.007729/0.7655, allocations: 2.479 MB / 0.749 GB, free: 11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.7656, allocations: 8.031 kB / 0.749 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004242/0.7698, allocations: 0.6237 MB / 0.7496 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003671/0.7735, allocations: 1.252 MB / 0.7508 GB, free: 9.418 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000673/0.7742, allocations: 0.5314 MB / 0.7513 GB, free: 8.793 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000358/0.7746, allocations: 80 kB / 0.7514 GB, free: 8.715 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002673/0.7773, allocations: 1.31 MB / 0.7527 GB, free: 7.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.7798, allocations: 1.375 MB / 0.754 GB, free: 6.945 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.7799, allocations: 0 / 0.754 GB, free: 6.945 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.78, allocations: 4 kB / 0.754 GB, free: 6.941 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.7801, allocations: 31.95 kB / 0.7541 GB, free: 6.91 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.01331/0.7934, allocations: 6.065 MB / 0.76 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008398/0.8018, allocations: 3.411 MB / 0.7633 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.8037, allocations: 0.8132 MB / 0.7641 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007676/0.8045, allocations: 0.7339 MB / 0.7648 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001944/0.8065, allocations: 0.9875 MB / 0.7658 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=159): time 3.787e-06/0.8065, allocations: 0 / 0.7658 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=159): time 0.01655/0.8231, allocations: 5.099 MB / 0.7708 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/0.8233, allocations: 153.8 kB / 0.7709 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/0.8262, allocations: 1.295 MB / 0.7722 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006148/0.8268, allocations: 29.7 kB / 0.7722 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00085/0.8277, allocations: 0.8211 MB / 0.773 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001179/0.8289, allocations: 0.5466 MB / 0.7735 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.829, allocations: 0 / 0.7735 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000243/0.8293, allocations: 361.9 kB / 0.7739 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.8306, allocations: 0.6797 MB / 0.7746 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.8322, allocations: 0.8858 MB / 0.7754 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.8342, allocations: 0.779 MB / 0.7762 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.8342, allocations: 0 / 0.7762 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.005986/0.8402, allocations: 2.368 MB / 0.7785 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009414/0.8412, allocations: 1.739 MB / 0.7802 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/0.8412, allocations: 11.92 kB / 0.7802 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007908/0.8491, allocations: 2.289 MB / 0.7824 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.851, allocations: 291.6 kB / 0.7827 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005581/0.8566, allocations: 2.428 MB / 0.7851 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/0.8604, allocations: 270.5 kB / 0.7853 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003699/0.8608, allocations: 59.98 kB / 0.7854 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.8608, allocations: 4 kB / 0.7854 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004715/0.8656, allocations: 2.111 MB / 0.7875 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/0.8656, allocations: 8 kB / 0.7875 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008003/0.8736, allocations: 2.281 MB / 0.7897 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.8758, allocations: 295.6 kB / 0.79 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005694/0.8815, allocations: 2.421 MB / 0.7923 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003557/0.8851, allocations: 254.6 kB / 0.7926 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003692/0.8855, allocations: 55.98 kB / 0.7926 GB, free: 14.74 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,iEEEG1.limIntegrator.local_reset,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005495/0.8861, allocations: 136.7 kB / 0.7928 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01622/0.9023, allocations: 5.11 MB / 0.7978 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/0.9039, allocations: 201.5 kB / 0.798 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01677/0.9207, allocations: 5.252 MB / 0.8031 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.725e-05/0.9209, allocations: 16 kB / 0.8031 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.9209, allocations: 4 kB / 0.8031 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.01e-05/0.921, allocations: 7.969 kB / 0.8031 GB, free: 3.984 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.02223/0.9432, allocations: 7.569 MB / 0.8105 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/0.9433, allocations: 3.984 kB / 0.8105 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/0.945, allocations: 227.7 kB / 0.8107 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007066/0.9521, allocations: 1.986 MB / 0.8127 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008704/0.9531, allocations: 27.98 kB / 0.8127 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01943/0.9726, allocations: 7.701 MB / 0.8202 GB, free: 2.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.9726, allocations: 0 / 0.8202 GB, free: 2.23 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02032/0.993, allocations: 6.406 MB / 0.8265 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.9944, allocations: 322.3 kB / 0.8268 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007693/0.9952, allocations: 0 / 0.8268 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/0.9973, allocations: 183.8 kB / 0.8269 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00101/0.9983, allocations: 301.1 kB / 0.8272 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/0.9985, allocations: 43.98 kB / 0.8273 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002071/1.001, allocations: 0.9791 MB / 0.8282 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.72e-07/1.001, allocations: 0 / 0.8282 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003957/1.005, allocations: 0.8457 MB / 0.8291 GB, free: 9.117 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,iEEEG1.imLeadLag.TF.x_scaled[1],iEEEG1.imSimpleLag.state,iEEEG1.imSimpleLag1.state,iEEEG1.imSimpleLag2.state,iEEEG1.imSimpleLag3.state,iEEEG1.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 115 * 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.02053/1.025, allocations: 7.151 MB / 0.836 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01574/1.041, allocations: 4.49 MB / 0.8404 GB, free: 13.41 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.646e-05/1.041, allocations: 4 kB / 0.8404 GB, free: 13.41 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00654/1.048, allocations: 1.971 MB / 0.8424 GB, free: 11.43 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/1.05, allocations: 144 kB / 0.8425 GB, free: 11.29 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008795/1.059, allocations: 3.367 MB / 0.8458 GB, free: 7.855 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/1.06, allocations: 1.445 MB / 0.8472 GB, free: 6.383 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001925/1.062, allocations: 308.4 kB / 0.8475 GB, free: 6.074 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.063, allocations: 0.757 MB / 0.8482 GB, free: 5.32 MB / 0.573 GB Notification: Performance of SimCode: time 1.693e-06/1.063, allocations: 0 / 0.8482 GB, free: 5.32 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5119/1.575, allocations: 49.31 MB / 0.8964 GB, free: 163.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/1.575, allocations: 134.9 kB / 0.8965 GB, free: 163.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.285/5.86, allocations: 3.938 kB / 0.8965 GB, free: 163.1 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe 2>&1)